Laurent Bachelier
e7c8e8c772
tests: Use the guessed nosetests for the core tests too
2012-11-11 05:20:30 +01:00
Laurent Bachelier
73443ebe31
tests: Guess the right builder name
...
when run by buildslaves
2012-11-11 05:17:11 +01:00
Laurent Bachelier
da655d84d1
tests: Better way of handling non-module tests
...
Some were not caught, and they were ran even for a single-module test.
Also, don't include them in the report.
2012-11-10 18:18:32 +01:00
Laurent Bachelier
c9683e08ae
tests: Save and submit test results
...
There is no processing of the reports for now,
but the submit part is done.
2012-11-10 18:18:31 +01:00
Romain Bignon
9f3603d80f
use 'hash' instead of 'have' ( closes #905 )
2012-10-27 13:25:37 +02:00
Romain Bignon
ff2198cd8a
remove unused import
2012-10-27 11:21:41 +02:00
Laurent Bachelier
d638ea2f65
No need for nosetests path adjustments
2012-04-27 14:33:15 +02:00
Laurent Bachelier
36db83d74e
tests: Allow overriding executables, and try to be smart
...
Get the explicit Python 2 version if there is one.
fixes #842
2012-04-10 07:43:07 +02:00
Laurent Bachelier
a99cd8a0e5
Add tool to properly start make_man.py
...
Force using local modules / code.
2012-03-27 11:57:00 +02:00
Laurent Bachelier
3a68fc615b
Remove *.pyc before running tests
2012-03-14 23:53:14 +01:00
Laurent Bachelier
006e97a8be
PEP8 style fixes and other small style fixes
...
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.
Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
change to a comment something that wasn't really appropriate for a
docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Laurent Bachelier
062f2c4c3e
Fix Python 2.5 support
...
And fix some PEP8 style issues (mostly about spaces) while I was there.
refs #806
2012-03-13 12:36:02 +01:00
Romain Bignon
6b8a163158
change paths of related files to XDG specs
2012-03-03 23:19:38 +01:00
Romain Bignon
2476cbfa1b
fix application URL
2012-03-03 23:00:45 +01:00
Laurent Bachelier
1ec64d0897
Force weboob-update to use the local weboob
2012-02-28 14:20:03 +01:00
Laurent Bachelier
30e3aa2038
Use the WEBOOB_BACKENDS variable if it exists
2012-02-12 21:46:52 +01:00
Romain Bignon
04183000bc
do not print supported websites if empty
2012-02-06 20:02:09 +01:00
Laurent Bachelier
f3d962b19a
Retrieve the keyring, and check its updates are valid
2012-01-30 01:20:57 +01:00
Laurent Bachelier
9686ef6d8d
Tests should work with any POSIX shell
...
Tested with dash & bash.
2012-01-28 00:02:24 +01:00
Laurent Bachelier
129bb7233e
Make tests work with the new XDG dirs
...
Also minor improvements on style.
2012-01-27 23:54:14 +01:00
Laurent Bachelier
e55eb078f5
Return the proper status
2012-01-18 11:38:06 +01:00
Laurent Bachelier
f8af34cc64
Fix typo, and missing weboob-config update command
2012-01-18 01:01:00 +01:00
Laurent Bachelier
eef7a71759
Run tests with only the source modules
...
It will use a temporary directory.
It reads the WEBOOB_WORKDIR variable if you want a different backends
file.
It sets sources.list by itself.
The temporary directory is removed if possible.
It is still possible to test only one backend.
2012-01-17 19:43:51 +01:00
Romain Bignon
abb24b9954
several fixes to run successfully tests
2012-01-17 17:46:13 +01:00
Romain Bignon
14a7a1d362
support repositories to manage backends ( closes #747 )
2012-01-17 17:00:05 +01:00
Noé Rubinstein
61dfb8a1b6
change to generic comic reader test passed to generator
2011-09-26 13:31:16 +02:00
Noé Rubinstein
ae97e5ea0b
fix help display for tools/gen_comic_reader.sh
2011-09-26 13:31:13 +02:00
Noé Rubinstein
306c36ae83
add a generator for generic comic reader backends
...
this is an ugly solution; backends should be simple enough to not need a
generator, and this is almost achieved with genericcomicreader except
for the necessity of two separate short files (__init__ and test)
2011-09-26 13:31:10 +02:00
Romain Bignon
1288af8e93
sort commands by name
2011-05-08 17:27:00 +02:00
Laurent Bachelier
8075d538f0
Better messages and return codes in applications
...
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
1327edb1ed
add script to install xdg
2011-05-02 08:49:12 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Christophe Benz
ca658e3946
python2.5 compatibility.
2011-04-04 21:51:51 +02:00
Laurent Bachelier
f36e953baa
Make pyflakes work regardless of $PWD, fix grammar
2011-03-02 00:18:30 +01:00
Romain Bignon
01feb8aac9
add checks on backends tests
2011-02-26 11:29:11 +01:00
Romain Bignon
55a1574df5
display application version
2010-12-09 13:50:18 +01:00
Romain Bignon
7b5e5f3289
display supported websites ( closes #427 )
2010-12-09 12:05:41 +01:00
Christophe Benz
3dd50f363d
remove unnecessary brackets
2010-12-08 18:10:42 +01:00
Romain Bignon
8f39c0618c
display usage, description and commands list in a proper way, display copyright and files list (refs #427 )
2010-12-08 17:55:27 +01:00
Laurent Bachelier
f296b6e0e3
Horrible tool to create manpages
...
Far from enough to replace the current manpages as of now, so they are
put in the man2/ directory.
2010-11-26 00:47:46 +01:00
Romain Bignon
0dc4485076
fix script
2010-09-17 19:09:46 -04:00
Romain Bignon
876d05ffa6
when there is a param, load test only for this backend
2010-08-30 16:59:52 +02:00
Romain Bignon
28f622e071
fix script to grep -v only one message type (redefinition)
2010-08-13 22:22:42 +02:00
Romain Bignon
3b89982340
script to correctly launch nose tests
2010-08-13 21:34:54 +02:00
Christophe Benz
0202cf2f7d
add weboob_lint.py script
2010-08-11 19:31:08 +02:00
Romain Bignon
aead5ad250
moved tools/packaging into weboob-packaging.git
2010-08-02 11:02:03 +02:00
Romain Bignon
310571e987
include ina data files
2010-07-31 14:38:02 +02:00
Romain Bignon
aac4ae7787
Merge remote branch 'cbenz/debian_packages'
...
Conflicts:
.gitignore
2010-07-31 13:30:46 +02:00
Christophe Benz
de9b47dc14
allow to pass args
2010-07-30 18:00:07 +02:00
Christophe Benz
1fcb67a0b3
add copyright file
2010-07-30 18:00:07 +02:00