Skip to content

Commit

Permalink
feat: checking someting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrinson-rise8 committed Nov 7, 2024
1 parent f8dbbad commit 11d2f28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check_smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
POSTGRES_PASSWORD: pw
ports:
- 5432:5432
options:
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
# options:
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5

steps:
- name: Check out repository
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/linking/test_algorithm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def test_list_algorithms(session):


def test_default_algorithm(session):
with pytest.raises(ValueError):
algorithm_service.default_algorithm(session)
assert algorithm_service.default_algorithm(session) is None

algo1 = models.Algorithm(label="basic", is_default=False, description="First algorithm")
algo2 = models.Algorithm(label="enhanced", is_default=True, description="Second algorithm")
Expand Down

0 comments on commit 11d2f28

Please sign in to comment.