dogtail r328 - in branches/pyatspi: . dogtail tests



Author: zcerza
Date: 2007-08-23 17:23:47 +0100 (Thu, 23 Aug 2007)
New Revision: 328
ViewCVS link: http://svn.gnome.org/viewcvs/dogtail?rev=328&view=rev

Modified:
   branches/pyatspi/ChangeLog
   branches/pyatspi/dogtail/tree.py
   branches/pyatspi/tests/Node.py
Log:
* tests/Node.py: Update unit tests with API changes: Node States (from
the old stateSet) are accessed directly, e.g. node.sensitive; read-only
attributes now raise AttributeError instead of ReadOnlyError;
atspi.SpiException has been replaced by CORBA.COMM_FAILURE.

* dogtail/tree.py: Replace ReadOnlyError with AttributeError. Also
make Node.doAction() raise NotSensitiveError if necessary.





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