Stephan Erb
2e5bf4d0d2
Organize tests into unit and integration tests.
...
Integration tests can depend on UI, network or both. Unittests use neither.
2009-11-05 09:06:46 +01:00
Stephan Erb
b97cd5bbf8
Remove unused imports.
2009-10-24 20:49:34 +02:00
Yann Leboulanger
3d559033cb
fix Mock class: child of object class and fix realClass usage
2009-04-06 13:07:12 +00:00
Yann Leboulanger
a0d0a9b56c
fix function name
2009-04-06 13:05:03 +00:00
Stephan Erb
a757177e45
Improve code coverage of our testsuites and do some refactoring.
...
* resolver does not depend on GTK anymore
* renamed a few modules for consistency
* moved all mocks to lib/
* let client_nb test work again. Was broken here
There are many failing tests, help appreciated :-)
2009-01-11 13:49:03 +00:00
Yann Leboulanger
38eadfae5e
[thorstenp] remove some useless space at eol
2008-12-03 22:44:02 +00:00
Yann Leboulanger
158538b81c
[thorstenp] rename some var to not hide builts-in functions (list -> list_, ...)
2008-10-11 10:22:04 +00:00
Yann Leboulanger
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +00:00
Yann Leboulanger
73aee40542
[thorstenp] replace none equality test with identity test
2008-10-11 09:44:12 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
Stephan Erb
a16c65873a
Small enhancements for test_roster_window.
...
* Make sure that contacts show up under the correct parent
* Add check support for SelfContacts
2008-08-28 22:07:40 +00:00
Stephan Erb
9f52881d6e
Fix option handling of the unittest runner.
2008-08-27 18:55:18 +00:00
Yann Leboulanger
8a83033816
add some options to runtests.py to be able to tune verbosity and wether we want to run tests that require X or not
2008-08-27 07:55:06 +00:00
Stephan Erb
0bc1ac47f7
Unittest to reproduce #4208 . With some tweaks to data.py it should also help to reproduce #4195 .
2008-08-18 22:15:45 +00:00
Brendan Taylor
559a8c8b13
status change tests, hopefully fix some status change issues
2008-08-09 06:10:04 +00:00
Brendan Taylor
198a0ca738
moved testing libraries into their own directory
2008-08-09 00:24:08 +00:00