aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_obs.py4
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