diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_xbox.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_xbox.py b/tests/test_xbox.py index 85146a4..62872af 100644 --- a/tests/test_xbox.py +++ b/tests/test_xbox.py @@ -430,6 +430,11 @@ class Save(Base): xb.user_dir = old self.assertEqual(path, d / "VIDEOS" / "Xbox" / "Some Game 2026-11-23T10-00-00.mp4") self.assertEqual(path.read_bytes(), b"clip") + xb.user_dir = lambda name: d / name + try: + self.assertEqual([c["saved"] for c in x.state()["captures"]], [True, False]) + finally: + xb.user_dir = old class Commands(Base): |
