File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
integration/tests/posit/connect Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,24 +37,24 @@ def test_runtime_cache_destroy(self):
3737 # Find existing runtime caches
3838 runtimes : list [SystemRuntimeCache ] = self .client .system .caches .runtime .find ()
3939 assert len (runtimes ) > 0
40-
40+
4141 # Get the first cache for testing
4242 cache = runtimes [0 ]
4343 assert isinstance (cache , SystemRuntimeCache )
44-
44+
4545 # Test dry run destroy (should return None and not actually destroy)
4646 result = cache .destroy (dry_run = True )
4747 assert result is None
48-
48+
4949 # Verify cache still exists after dry run
5050 runtimes_after_dry_run = self .client .system .caches .runtime .find ()
5151 assert len (runtimes_after_dry_run ) == len (runtimes )
52-
52+
5353 # Test actual destroy
5454 task : Task = cache .destroy ()
5555 assert isinstance (task , Task )
5656 task .wait_for ()
57-
57+
5858 # Verify cache was removed
5959 runtimes_after_destroy = self .client .system .caches .runtime .find ()
6060 assert len (runtimes_after_destroy ) == len (runtimes ) - 1
You can’t perform that action at this time.
0 commit comments