Laurent Bachelier
d500abf336
We have so many tests we make nose crash!
...
We raise the recursion limit, as the recursion here is normal.
This happens with nose 1.3.4.
2014-10-14 12:25:43 +02:00
Florent
3ecb491c1c
s/BACKEND/MODULE/
2014-09-26 10:18:11 +02:00
Laurent Bachelier
0283597283
tests: Use the Python SkipTest if possible
...
This makes nosetests optional at least in theory.
Recent nose versions already do the same thing internally.
2014-09-09 18:36:04 +02:00
Florent
e110e18841
Remove TestCase export
2014-09-03 14:51:54 +02:00
Laurent Bachelier
7094931c92
Easy spacing fixes, trailing stuff
...
Remove useless trailing \
Remove trailing spaces
Add missing empty lines
autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .
Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
7928d7cf06
Explain why the test is skipped
2012-03-26 23:10:55 +02:00
Laurent Bachelier
56fe4448d3
Switch back to running tests for one backend only
...
This seems to cause unpredictable failures with pastebin (at least).
Tests will have the backends attribute if they really want to tests all
backends at once. For now, one backend is chosen for each run (and since
tests are ran often, it will cover all backends eventually.) The backend
instance name is displayed to ease the debugging.
2011-05-04 23:18:29 +02:00
Laurent Bachelier
aa939ca2bd
Support testing with multiple backend instances
...
This is useful for testing backends with different configurations
(different sites, being anonymous or not, etc.)
The previous behavior was to chose a random backend instance.
2011-05-02 02:05:14 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
64175296dc
deinit weboob after a test
2010-12-03 17:47:52 +01:00
Romain Bignon
9581fa0b19
all loaded backends are now configured (refs #368 )
2010-08-19 22:15:38 +02:00
Romain Bignon
0b2c4aeafc
select backend randomly
2010-08-13 23:17:52 +02:00
Romain Bignon
62b7584d80
tests are skipped when the backend can't be loaded
2010-08-13 18:12:16 +02:00
Romain Bignon
9c7f585753
new tests architecture
2010-08-13 17:27:22 +02:00