dogtail-devel [Bug 342028] Error in the tests contained in config.py



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342028
 dogtail | Framework | Ver: CVS HEAD


Zack Cerza changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zcerza redhat com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from Zack Cerza  2006-06-02 18:54 UTC -------
Changing the 'or' to and 'and' on line 6 would bring the possibility of false
passes.

The real problem stems from a change I made on 2005-11-01:
        * dogtail/config.py: Make config.ensureSensitivity False by default.

See, I forgot to update the unit test, which on line 3 does:
    failure = config.ensureSensitivity != True
when it should be:
    failure = config.ensureSensitivity != config.defaults['ensureSensitivity']

I fixed the problem. Thanks for reporting!


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



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