2008-08-21 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/upstream/at-spi2-core.git] / pyatspi / test.py
index a7b0fee..3363585 100644 (file)
@@ -42,13 +42,14 @@ class TestApplicationCache(object):
                else:
                        return False
 
-       def get_root(self):
+       def get_application_at_index(self, index):
                return create_accessible(self,
                                         self._bus_name, 
                                         self._accessible_cache.root, 
                                         interfaces.ATSPI_ACCESSIBLE,
                                         connection=self._connection)
 
-       root = property(fget=get_root)
+       def get_application_count(self):
+               return 1
 
 #END----------------------------------------------------------------------------