Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def run(self, context: ExecutionContext):
"clean_workspace",
"Could not clean up workspace, skipping scenario",
)
self.end_test_case()

self.end_test_scenario()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
class SoloHappyPath(TestScenario):
@deprecated(deprecated_in="0.26.0")
def run(self, context):
pass
self.begin_test_scenario(context)
self.end_test_scenario()
1 change: 1 addition & 0 deletions monitoring/uss_qualifier/scenarios/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ def end_test_scenario(self) -> None:
def go_to_cleanup(self) -> None:
self._expect_phase(
{
ScenarioPhase.NotStarted,
ScenarioPhase.ReadyForTestCase,
ScenarioPhase.ReadyForTestStep,
ScenarioPhase.RunningTestStep,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def test_go_to_cleanup():

# This is a list of step to do, in order, and if go_to_cleanup should works
steps_and_result = [
("nop", False),
("nop", True),
("begin_test_scenario", True),
("begin_test_case", True),
("begin_test_step", True),
Expand Down
Loading