Skip to content

Commit

Permalink
Call clear with true argument
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkeSchomann committed Dec 5, 2024
1 parent 93d955e commit f1ffa67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/workspacemanager_presenter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def test_ensure_that_the_ads_observer_calls_delete_handle(self):
)

# Ensure ADS is empty before test
AnalysisDataService.clear()
AnalysisDataService.clear(True)
CreateSampleWorkspace(OutputWorkspace="ws", StoreInADS=True)
AnalysisDataService.remove("ws")

Expand All @@ -460,9 +460,9 @@ def test_ensure_that_the_ads_observer_calls_clear_handle(self):
)

# Ensure ADS is empty before test
AnalysisDataService.clear()
AnalysisDataService.clear(True)
CreateSampleWorkspace(OutputWorkspace="ws", StoreInADS=True)
AnalysisDataService.clear()
AnalysisDataService.clear(True)

presenter.clear_handle.assert_called_once()

Expand Down

0 comments on commit f1ffa67

Please sign in to comment.