Skip to content

Commit 43c0eb8

Browse files
committed
Remove duplicated checks from tests
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 7a7e410 commit 43c0eb8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/client_test_cases/set_component_power_active/no_lifetime_case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ def assert_stub_method_call(stub_method: Any) -> None:
3232
def assert_client_result(result: Any) -> None: # noqa: D103
3333
"""Assert that the client result is None when no lifetime is provided."""
3434
assert result is None
35-
assert result is None

tests/client_test_cases/set_component_power_active/success_case.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ def assert_stub_method_call(stub_method: Any) -> None:
3434
def assert_client_result(result: datetime) -> None:
3535
"""Assert that the client result matches the expected expiry time."""
3636
assert result == expiry_time
37-
"""Assert that the client result matches the expected expiry time."""
38-
assert result == expiry_time

0 commit comments

Comments
 (0)