diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-09 20:09:38 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-09 20:09:38 +0100 |
| commit | 94e1001173f10d33b5e8d1e32124e089d234a42c (patch) | |
| tree | 990967eddee7b810cfadb58627bbd75a61c92b81 /tests | |
| parent | c47e0f22207302e4dcad9b8480e033fbe85dccd5 (diff) | |
| download | deck-it-94e1001173f10d33b5e8d1e32124e089d234a42c.tar.gz deck-it-94e1001173f10d33b5e8d1e32124e089d234a42c.zip | |
feat: long-press an OBS source to open its properties; fix server detection
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_obs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_obs.py b/tests/test_obs.py index cd317ed..ecb7cc0 100644 --- a/tests/test_obs.py +++ b/tests/test_obs.py @@ -39,6 +39,10 @@ class Actions(unittest.TestCase): self.m.actions["source"]({"scene": "S", "id": 2, "on": False}) self.assertEqual(Fake.last[0], "SetSceneItemEnabled") + def test_properties_opens_the_source_dialog(self): + self.m.actions["properties"]({"source": "Single Window"}) + self.assertEqual(Fake.last, ("OpenInputPropertiesDialog", {"inputName": "Single Window"})) + def test_state_offline(self): class Off: connected = False |
