Skip to content

Commit 0b3fdad

Browse files
authored
Merge pull request lightspeed-core#197 from tisnik/lcore-303-silent-improper-pyright-warning-in-e2e-common-py
LCORE-303: silent improper Pyright warning in e2e's common.py
2 parents 71c3730 + 07abc44 commit 0b3fdad

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/e2e/features/steps/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
"""Implementation of common test steps."""
22

3-
from behave import given
3+
from behave import given # pyright: ignore[reportAttributeAccessIssue]
44
from behave.runner import Context
55

66

77
@given("the service is started locally")
88
def service_is_started_locally(context: Context) -> None:
99
"""Check the service status."""
10-
pass
10+
assert context is not None
1111

1212

1313
@given("the system is in default state")
1414
def system_in_default_state(context: Context) -> None:
1515
"""Check the default system state."""
16-
pass
16+
assert context is not None

0 commit comments

Comments
 (0)