Closed GoogleCodeExporter closed 8 years ago
In my GitHub branch for this issue, I made the diffs easier to read by using
unittest2 if available and including a name for test windows:
https://github.com/akaihola/PyWO/commit/fc6e65d2b07ea6abe5f6a0be87781ee374f98fc8
The failures are now:
======================================================================
FAIL: test_standard_type (__main__.IncludeExcludeTypeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/core/filters_test.py", line 57, in test_standard_type
self.utility_win, self.dialog_win])
File "tests/core/filters_test.py", line 25, in assertWindows
self.assertEqual(windows_ids, filtered_windows_ids)
AssertionError: Items in the first set but not the second:
(9527, 'dock')
======================================================================
FAIL: test_standard (__main__.CombinedFiltersTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/core/filters_test.py", line 256, in test_standard
self.desktop2_viewport2_win])
File "tests/core/filters_test.py", line 25, in assertWindows
self.assertEqual(windows_ids, filtered_windows_ids)
AssertionError: Items in the first set but not the second:
(1248, 'dock')
Original comment by akaih...@gmail.com
on 27 Apr 2011 at 6:43
Thanks for pointing this out!
Just sent the commit with appopriate changes in test suite.
BTW, got to check unittest2, seems to have some very nice features.
Original comment by kosci...@gmail.com
on 27 Apr 2011 at 4:40
Original issue reported on code.google.com by
akaih...@gmail.com
on 27 Apr 2011 at 6:31