summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/registryd/test_root_accessible.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/registryd/test_root_accessible.py b/tests/registryd/test_root_accessible.py
index 8a4d5dea..930ecd11 100644
--- a/tests/registryd/test_root_accessible.py
+++ b/tests/registryd/test_root_accessible.py
@@ -32,6 +32,9 @@ def test_get_child_at_index_for_empty_registry(registry_root, session_manager):
(name, path) = registry_root.GetChildAtIndex(0, dbus_interface=ACCESSIBLE_IFACE)
assert path == '/org/a11y/atspi/null'
+def test_get_children_for_empty_registry(registry_root, session_manager):
+ assert len(registry_root.GetChildren(dbus_interface=ACCESSIBLE_IFACE)) == 0
+
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