[at-spi2-core: 13/17] Test GetApplication




commit cd3f94c7574825812d4e0fea6fda20f9e4432495
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 11 19:06:09 2022 -0500

    Test GetApplication

 tests/registryd/test_root_accessible.py | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/registryd/test_root_accessible.py b/tests/registryd/test_root_accessible.py
index 6f15204f..a208e1c9 100644
--- a/tests/registryd/test_root_accessible.py
+++ b/tests/registryd/test_root_accessible.py
@@ -60,3 +60,7 @@ def test_root_get_state(registry_root, session_manager):
 def test_root_get_attributes(registry_root, session_manager):
     assert len(registry_root.GetAttributes(dbus_interface=ACCESSIBLE_IFACE)) == 0
 
+def test_root_get_application(registry_root, session_manager):
+    (name, path) = registry_root.GetApplication(dbus_interface=ACCESSIBLE_IFACE)
+    assert path == '/org/a11y/atspi/null'
+    


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]