File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
integration/tests/posit/connect Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 88from . import CONNECT_VERSION
99
1010
11+ @pytest .mark .skipif (
12+ CONNECT_VERSION <= version .parse ("2023.01.1" ),
13+ reason = "Quarto not available" ,
14+ )
1115class TestJobs :
1216 @classmethod
1317 def setup_class (cls ):
@@ -19,10 +23,6 @@ def teardown_class(cls):
1923 cls .content .delete ()
2024 assert cls .client .content .count () == 0
2125
22- @pytest .mark .skipif (
23- CONNECT_VERSION <= version .parse ("2023.01.1" ),
24- reason = "Quarto not available" ,
25- )
2626 def test (self ):
2727 content = self .content
2828
@@ -46,7 +46,8 @@ def test_find_by(self):
4646 path = str (path )
4747
4848 bundle = content .bundles .create (path )
49- bundle .deploy ()
49+ task = bundle .deploy ()
50+ task .wait_for ()
5051
51- jobs = content .jobs .find_by ()
52+ jobs = content .jobs .reload ()
5253 assert len (jobs ) != 0
You can’t perform that action at this time.
0 commit comments