Skip to content

Commit

Permalink
use assert
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jul 31, 2024
1 parent 8fe0680 commit 102bd59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/android/finger_print_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ def test_finger_print(self) -> None:
try:
self.driver.finger_print(1)
except Exception:
self.assertTrue(False, "Sould not raise any exceptions")
assert False, "Sould not raise any exceptions"
2 changes: 1 addition & 1 deletion test/functional/android/network_connection_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def test_set_network_connection(self) -> None:
try:
self.driver.set_network_connection(ConnectionType.DATA_ONLY)
except Exception:
self.assertTrue(False, "Should not raise any exceptions")
assert False, "Should not raise any exceptions"

0 comments on commit 102bd59

Please sign in to comment.