[at-spi2-core: 7/17] Test GetRelationSet




commit ac1a8079abb2d4d5b876b8d736849cf17e2df2f4
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 11 18:52:50 2022 -0500

    Test GetRelationSet

 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 a9ff55e1..b16249aa 100644
--- a/tests/registryd/test_root_accessible.py
+++ b/tests/registryd/test_root_accessible.py
@@ -36,3 +36,7 @@ def test_root_get_interfaces(registry_root, session_manager):
 def test_root_get_index_in_parent(registry_root, session_manager):
     # The registry root is always index 0
     assert registry_root.GetIndexInParent(dbus_interface=ACCESSIBLE_IFACE) == 0
+
+def test_root_get_relation_set(registry_root, session_manager):
+    # The registry root has an empty relation set
+    assert len(registry_root.GetRelationSet(dbus_interface=ACCESSIBLE_IFACE)) == 0


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