From 07abc440864a827f1ace87ce505cd66e57b66bdd Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Mon, 7 Jul 2025 10:42:13 +0200 Subject: [PATCH] LCORE-303: silent improper Pyright warning in e2e's common.py --- tests/e2e/features/steps/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/features/steps/common.py b/tests/e2e/features/steps/common.py index 0e88fc741..d5168e9e0 100644 --- a/tests/e2e/features/steps/common.py +++ b/tests/e2e/features/steps/common.py @@ -1,16 +1,16 @@ """Implementation of common test steps.""" -from behave import given +from behave import given # pyright: ignore[reportAttributeAccessIssue] from behave.runner import Context @given("the service is started locally") def service_is_started_locally(context: Context) -> None: """Check the service status.""" - pass + assert context is not None @given("the system is in default state") def system_in_default_state(context: Context) -> None: """Check the default system state.""" - pass + assert context is not None