[at-spi2-core: 39/47] Test that the registry's root has a null parent
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 39/47] Test that the registry's root has a null parent
- Date: Wed, 13 Jul 2022 03:08:30 +0000 (UTC)
commit 1c1d915596f5700a08efb6e5906a4ccfa0ddb932
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Jul 12 12:41:44 2022 -0500
Test that the registry's root has a null parent
tests/registryd/test_registry_startup.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tests/registryd/test_registry_startup.py b/tests/registryd/test_registry_startup.py
index 9692953b..ee00c4b9 100644
--- a/tests/registryd/test_registry_startup.py
+++ b/tests/registryd/test_registry_startup.py
@@ -19,5 +19,8 @@ def test_accessible_iface_properties(registry, session_manager):
for prop_name, expected in values:
assert get_property(registry, ACCESSIBLE_IFACE, prop_name) == expected
+def test_registry_root_has_null_parent(registry, session_manager):
+ assert get_property(registry, ACCESSIBLE_IFACE, 'Parent') == ('', '/org/a11y/atspi/null')
+
def test_empty_registry_has_zero_children(registry, session_manager):
assert get_property(registry, ACCESSIBLE_IFACE, 'ChildCount') == 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]