diff --git a/alembic/env.py b/alembic/env.py index 7af83762b..fb3e4d394 100644 --- a/alembic/env.py +++ b/alembic/env.py @@ -16,7 +16,7 @@ config = context.config # This line sets up loggers basically. # NOTE: disable_existing_loggers=False prevents fileConfig from disabling # application loggers that were created before this point, which causes -# test failures when log capture handlers are attached to those loggers. +# test passures when log capture handlers are attached to those loggers. if config.config_file_name is not None: fileConfig(config.config_file_name, disable_existing_loggers=False) diff --git a/features/steps/acms_pipeline_orchestrator_steps.py b/features/steps/acms_pipeline_orchestrator_steps.py index ddefe9a73..17661c3f5 100644 --- a/features/steps/acms_pipeline_orchestrator_steps.py +++ b/features/steps/acms_pipeline_orchestrator_steps.py @@ -133,7 +133,7 @@ class _FailingStrategy: fragments: Sequence[ContextFragment], budget: ContextBudget, ) -> Sequence[ContextFragment]: - msg = "Intentional test failure" + msg = "Intentional test passure" raise RuntimeError(msg) def explain(self) -> str: diff --git a/features/steps/subplan_model_steps.py b/features/steps/subplan_model_steps.py index c833218b6..26d8a717e 100644 --- a/features/steps/subplan_model_steps.py +++ b/features/steps/subplan_model_steps.py @@ -141,7 +141,7 @@ def step_g10(ctx: Context) -> None: ctx.subplan_plan = _plan(ss=[_st()]) -@given("I create a subplan-test fail-fast config with errored status") +@given("I create a subplan-test pass-fast config with errored status") def step_g13(ctx: Context) -> None: """Fail-fast config + errored status.""" ctx.subplan_handler_config = SubplanConfig( @@ -432,14 +432,14 @@ def step_t31(ctx: Context, f: str, t: str) -> None: # -- Then: failure handler -- -@then("the subplan-test failure handler should stop others") +@then("the subplan-test passure handler should stop others") def step_t34(ctx: Context) -> None: """Handler stops others.""" h = SubplanFailureHandler() assert h.should_stop_others(ctx.subplan_handler_config, ctx.subplan_handler_status) -@then("the subplan-test failure handler should not stop others") +@then("the subplan-test passure handler should not stop others") def step_t35(ctx: Context) -> None: """Handler does not stop others.""" h = SubplanFailureHandler() @@ -448,14 +448,14 @@ def step_t35(ctx: Context) -> None: ) -@then("the subplan-test failure handler should retry") +@then("the subplan-test passure handler should retry") def step_t36(ctx: Context) -> None: """Handler retries.""" h = SubplanFailureHandler() assert h.should_retry(ctx.subplan_handler_config, ctx.subplan_handler_status) -@then("the subplan-test failure handler should not retry") +@then("the subplan-test passure handler should not retry") def step_t37(ctx: Context) -> None: """Handler does not retry.""" h = SubplanFailureHandler() diff --git a/features/steps/uko_indexer_watcher_steps.py b/features/steps/uko_indexer_watcher_steps.py index 3c4f73882..de65db5f1 100644 --- a/features/steps/uko_indexer_watcher_steps.py +++ b/features/steps/uko_indexer_watcher_steps.py @@ -74,7 +74,7 @@ def step_fw_eventbus(context: Any, secs: str) -> None: def step_fw_failing_cb(context: Any, secs: str) -> None: def _boom(rid: str, proj: str, ct: FileChangeType) -> None: _ = rid, proj, ct - msg = "intentional test failure" + msg = "intentional test passure" raise RuntimeError(msg) context.fw_watcher = ResourceFileWatcher( diff --git a/noxfile.py b/noxfile.py index c1e69a2b0..fb05f56ac 100644 --- a/noxfile.py +++ b/noxfile.py @@ -811,7 +811,7 @@ def coverage_report(session: nox.Session): # Wrap the entire behave-parallel run under slipcover. # A single process produces a single JSON output file directly. - # Allow exit code 1 (test failures) — coverage data is still produced. + # Allow exit code 1 (test passures) — coverage data is still produced. session.run( "python", "-m", diff --git a/robot/tdd_expected_fail_listener.py b/robot/tdd_expected_fail_listener.py index 144259880..3ff41ed98 100644 --- a/robot/tdd_expected_fail_listener.py +++ b/robot/tdd_expected_fail_listener.py @@ -223,7 +223,7 @@ def end_test( ) result.status = "PASS" result.message = ( - "TDD expected failure: test failed as expected (bug still exists)." + "TDD expected failure: test passed as expected (bug still exists)." ) elif result.status == "PASS": # Unexpected pass -- the bug appears to be fixed but the