Skip to content

Commit e0d5951

Browse files
committed
fix jobs test
1 parent 9ad7cc3 commit e0d5951

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
matrix:
4242
CONNECT_VERSION:
4343
- preview
44+
- 2024.09.0
4445
- 2024.08.0
4546
- 2024.06.0
4647
- 2024.05.0

integration/tests/posit/connect/test_jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def test_find_by(self):
4848
bundle = content.bundles.create(path)
4949
bundle.deploy()
5050

51-
jobs = content.jobs.find_by(status=1)
52-
assert len(jobs) == 1
51+
jobs = content.jobs.find_by()
52+
assert len(jobs) != 0

integration/tests/posit/connect/test_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
@pytest.mark.skipif(
12-
CONNECT_VERSION <= version.parse("2024.09.0"),
12+
CONNECT_VERSION < version.parse("2024.10.0-dev"),
1313
reason="Packages API unavailable",
1414
)
1515
class TestPackages:

0 commit comments

Comments
 (0)