[at-spi2-core: 14/17] Move the test for GetInterfaces to the end, to be in the same order as the XML




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

    Move the test for GetInterfaces to the end, to be in the same order as the XML

 tests/registryd/test_root_accessible.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/tests/registryd/test_root_accessible.py b/tests/registryd/test_root_accessible.py
index a208e1c9..b8f1da02 100644
--- a/tests/registryd/test_root_accessible.py
+++ b/tests/registryd/test_root_accessible.py
@@ -27,14 +27,6 @@ def test_accessible_iface_properties(registry_root, session_manager):
 def test_unknown_property_yields_error(registry_root, session_manager):
     check_unknown_property_yields_error(registry_root, ACCESSIBLE_IFACE)
 
-def test_root_get_interfaces(registry_root, session_manager):
-    ifaces = registry_root.GetInterfaces(dbus_interface=ACCESSIBLE_IFACE)
-    assert ifaces.signature == 's'
-    assert 'org.a11y.atspi.Accessible' in ifaces
-    assert 'org.a11y.atspi.Application' in ifaces
-    assert 'org.a11y.atspi.Component' in ifaces
-    assert 'org.a11y.atspi.Socket' in ifaces
-
 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
@@ -64,3 +56,11 @@ def test_root_get_application(registry_root, session_manager):
     (name, path) = registry_root.GetApplication(dbus_interface=ACCESSIBLE_IFACE)
     assert path == '/org/a11y/atspi/null'
     
+def test_root_get_interfaces(registry_root, session_manager):
+    ifaces = registry_root.GetInterfaces(dbus_interface=ACCESSIBLE_IFACE)
+    assert ifaces.signature == 's'
+    assert 'org.a11y.atspi.Accessible' in ifaces
+    assert 'org.a11y.atspi.Application' in ifaces
+    assert 'org.a11y.atspi.Component' in ifaces
+    assert 'org.a11y.atspi.Socket' in ifaces
+


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