Skip to content

Commit

Permalink
fix jobs test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed Nov 8, 2024
1 parent 9ad7cc3 commit e0d5951
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
matrix:
CONNECT_VERSION:
- preview
- 2024.09.0
- 2024.08.0
- 2024.06.0
- 2024.05.0
Expand Down
4 changes: 2 additions & 2 deletions integration/tests/posit/connect/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def test_find_by(self):
bundle = content.bundles.create(path)
bundle.deploy()

jobs = content.jobs.find_by(status=1)
assert len(jobs) == 1
jobs = content.jobs.find_by()
assert len(jobs) != 0
2 changes: 1 addition & 1 deletion integration/tests/posit/connect/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@pytest.mark.skipif(
CONNECT_VERSION <= version.parse("2024.09.0"),
CONNECT_VERSION < version.parse("2024.10.0-dev"),
reason="Packages API unavailable",
)
class TestPackages:
Expand Down

0 comments on commit e0d5951

Please sign in to comment.