Laurent Bachelier
89f4d7e905
Tell groff manpages are utf-8
...
This should fix the display of manpages with accents (mainly boobank).
2013-03-09 15:14:46 +01:00
Laurent Bachelier
f0828ee24b
Ignore Qt generated UI files
2013-03-09 14:57:08 +01:00
Romain Bignon
329bf19905
add 'test.py' to be generated by the 'base' recipe
2013-02-14 23:34:26 +01:00
Laurent Bachelier
60197c4e96
No DOMAIN in backend
2013-02-14 23:06:05 +01:00
Laurent Bachelier
ae06ae3384
Add missing "whatis entry" to man pages
...
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Laurent Bachelier
690747dbf2
Not useful anymore
2013-02-13 00:08:23 +01:00
Laurent Bachelier
589dac7bf0
boilerplate: Fix missing use of the class name
2013-02-08 14:22:45 +01:00
Laurent Bachelier
2eed02568b
boilerplate: Use unicode by default for some fields
2013-02-07 14:30:25 +01:00
Laurent Bachelier
73d93f2d09
Make the "base" recipe more complete
2013-02-07 14:22:13 +01:00
Laurent Bachelier
32d7b53e63
Start a "base" recipe
...
This probably needs to have a "pages" templates too.
2013-02-07 14:22:13 +01:00
Laurent Bachelier
1162aa2fd7
Remove gen_comic_reader.sh
...
Replaced by tools/boilerplate.py
The templates in it are outdated (the test import for example),
hard to maintain, and do not follow PEP8.
Also, boilerplate.py already sets more fields.
2013-02-07 14:22:12 +01:00
Laurent Bachelier
a913072596
Add basic boilerplate script
...
With the comic templates from tools/gen_comic_reader.sh
2013-02-07 14:22:12 +01:00
Laurent Bachelier
c64fb9150e
Support systems with flake8 for python3 by default
2012-12-19 15:12:18 +01:00
Noé Rubinstein
117c9a24d5
gen_comic_reader: path to modules has changed
2012-12-06 23:25:38 +01:00
Laurent Bachelier
541d080c9d
Use flake8 if available instead of pyflakes
...
With flake8, we can check for more issues and ignore those who are not
real issues.
This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.
Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
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