Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Mar 22, 2023
1 parent f4ad7d0 commit 513585f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/test_basetv_async.py
Expand Up @@ -421,7 +421,9 @@ async def test_screen_on_awake_wake_lock_size(self):
with async_patchers.patch_shell("11Wake Locks: size=2")[self.PATCH_KEY]:
self.assertTupleEqual(await self.btv.screen_on_awake_wake_lock_size(), (True, True, 2))

with async_patchers.patch_shell(["Failed to write while dumping serviceWake Locks: size=2", "11Wake Locks: size=2"])[self.PATCH_KEY]:
with async_patchers.patch_shell(
["Failed to write while dumping serviceWake Locks: size=2", "11Wake Locks: size=2"]
)[self.PATCH_KEY]:
self.assertTupleEqual(await self.btv.screen_on_awake_wake_lock_size(), (True, True, 2))

@awaiter
Expand Down
4 changes: 3 additions & 1 deletion tests/test_basetv_sync.py
Expand Up @@ -632,7 +632,9 @@ def test_screen_on_awake_wake_lock_size(self):
with patchers.patch_shell("11Wake Locks: size=2")[self.PATCH_KEY]:
self.assertTupleEqual(self.btv.screen_on_awake_wake_lock_size(), (True, True, 2))

with patchers.patch_shell(["Failed to write while dumping serviceWake Locks: size=2", "11Wake Locks: size=2"])[self.PATCH_KEY]:
with patchers.patch_shell(["Failed to write while dumping serviceWake Locks: size=2", "11Wake Locks: size=2"])[
self.PATCH_KEY
]:
self.assertTupleEqual(self.btv.screen_on_awake_wake_lock_size(), (True, True, 2))

def test_state_detection_rules_validator(self):
Expand Down

0 comments on commit 513585f

Please sign in to comment.