dogtail r401 - in trunk: . tests
- From: zcerza svn gnome org
- To: svn-commits-list gnome org
- Subject: dogtail r401 - in trunk: . tests
- Date: Mon, 11 Aug 2008 21:22:58 +0000 (UTC)
Author: zcerza
Date: Mon Aug 11 21:22:58 2008
New Revision: 401
URL: http://svn.gnome.org/viewvc/dogtail?rev=401&view=rev
Log:
* tests/Node.py: Don't import pyatspi unnecessarily.
Modified:
trunk/ChangeLog
trunk/tests/Node.py
Modified: trunk/tests/Node.py
==============================================================================
--- trunk/tests/Node.py (original)
+++ trunk/tests/Node.py Mon Aug 11 21:22:58 2008
@@ -17,7 +17,6 @@
import unittest
import time
import dogtail.tree
-import pyatspi
from CORBA import COMM_FAILURE
class GtkDemoTest(unittest.TestCase):
@@ -80,7 +79,7 @@
# 'role' (read-only atspi role enum):
def testGetRole(self):
"Node.role for a gtk-demo app should be SPI_ROLE_APPLICATION"
- self.assertEquals(self.app.role, pyatspi.ROLE_APPLICATION)
+ self.assertEquals(self.app.role, dogtail.tree.pyatspi.ROLE_APPLICATION)
def testSetRole(self):
"Node.role should be read-only"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]