Commit graph

1,188 commits

Author SHA1 Message Date
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
Romain Bignon
a96b738242 raise ParseError only with None/NotAvailable/NotLoaded values, not with empty strings 2014-09-06 11:44:41 +02:00
Romain Bignon
a4c1acd2f0 fix regression introduced by 19a95dc0d6 2014-09-06 11:08:43 +02:00
Laurent Bachelier
c07e23cafc Use class attributes as much as possible for application output
refs #803
2014-09-04 12:41:25 +02:00
Laurent Bachelier
19a95dc0d6 Centralize encoding guesses, default to UTF-8
This might not be enough for print() and could need a locale.setlocale()
even though it is generally discouraged.

closes #1352
2014-09-04 12:41:25 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
f834f63b02 Use fullid parameter and not a local formatting 2014-09-03 16:15:28 +02:00
Florent
030197c738 Remove the 'inspect' command 2014-09-03 15:02:38 +02:00
Florent
fe02de196b Remove the webkit_mechanize_browser import 2014-09-03 14:59:54 +02:00
Florent
e110e18841 Remove TestCase export 2014-09-03 14:51:54 +02:00
Florent
9ab9026d75 Fix numbering of the list 2014-09-03 14:43:22 +02:00
Romain Bignon
52899a7ca9 add __repr__ on NotAvailable, NotLoaded and _NO_DEFAULT constants to be more readable on doc 2014-09-03 07:21:23 +02:00
Romain Bignon
6a3c9c78f9 parse_french_date: understand "aoû" 2014-09-02 16:54:14 +02:00
Florent
c8e568fdd0 Use shortcut of id in interactive mode. Closes #881 2014-09-02 15:41:18 +02:00
Florent
d9730033bb Allows shortcuts for modules. Related to #881 2014-09-02 15:36:59 +02:00
Florent
8a25c75999 Revert "be case insensitive on value choices (closes #1319)"
This reverts commit ebb87844f3.
2014-09-02 12:46:04 +02:00
Florent
322616b9e3 Add the default value displayed "upper" in aliases Closes #1319 2014-09-02 12:45:49 +02:00
Romain Bignon
ebb87844f3 be case insensitive on value choices (closes #1319) 2014-09-02 12:29:58 +02:00
Laurent Bachelier
e741431aa1 Add a new "Type" filter 2014-09-02 12:15:54 +02:00
Laurent Bachelier
f7136045d1 Fix doctest 2014-09-02 12:15:54 +02:00
Laurent Bachelier
59095aa85e CleanDecimal: do not crash with inputs like NotAvailable 2014-09-02 12:15:54 +02:00
Bezleputh
a923f14172 [date] add sept. in french translation 2014-09-02 11:30:12 +02:00
Romain Bignon
7d8571195f fix docstring issues 2014-08-30 20:45:10 +02:00
Oleg Plakhotniuk
649d777ac5 Transaction amounts cleaner helper for american banks.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-08-30 17:51:31 +02:00
Laurent Bachelier
1838f62e28 Allow more flexibility for the submit button parameter 2014-08-26 18:05:25 +02:00
Laurent Bachelier
a3c208dccf Add support for forms with multiple "submit" elements 2014-08-26 18:05:25 +02:00
Laurent Bachelier
3728ba2e74 Update Firefox versions to latest ESR 2014-08-26 18:05:25 +02:00
Laurent Bachelier
bb050fee00 Dump dictionaries in a more human-readable format 2014-08-26 18:05:25 +02:00
Romain Bignon
0afc360970 FrenchTransaction.Amount can take a replace_dots parameter 2014-08-21 16:25:30 +02:00
smurail
530bcc6bc4 add a grid based virtual keyboard 2014-08-21 16:25:30 +02:00
smurail
61badd3228 add a margin attribute 2014-08-21 16:25:27 +02:00
smurail
1b9c6e388f refactor: more flexible constructor 2014-08-21 16:21:55 +02:00
smurail
73025adf6d some little cleaning 2014-08-21 16:21:55 +02:00
Florent
09b0de545e set replace_dots default value to False 2014-08-21 10:27:20 +02:00
Florent
ce133dcf8a Fix documentation of nr parameter 2014-08-19 08:58:12 +02:00
Laurent Bachelier
8c3e92aa31 fix re flags usage for Python 2.6
fixes #1444
2014-08-13 19:49:24 +02:00
Laurent Bachelier
3a3e3d0438 Help debug Filter errors 2014-08-05 20:27:48 +02:00
Laurent Bachelier
94deb53352 Add support for a default in Env 2014-08-05 20:27:48 +02:00
Laurent Bachelier
a0559e539e CleanText improvements
* \t is always in \s so no need to add it
* handle the non-breaking space thanks to the re.UNICODE flag
* add an option to keep (but normalize) newlines
* more tests
2014-08-05 20:27:48 +02:00
Laurent Bachelier
b6c6ed2306 Fix filters doctests and add them to the usual test run 2014-08-05 20:27:48 +02:00
Laurent Bachelier
d19e0637e4 CleanText: Always return unicode 2014-08-05 20:27:48 +02:00
Laurent Bachelier
819de1ace0 Do not crash if total_seconds() is not implemented
Which is the case with Python 2.6.
We could do the calculation ourselves, but this is not a very important
feature.
2014-08-05 20:27:48 +02:00
Romain Bignon
1005197a92 add CsvPage 2014-07-11 15:24:24 +02:00
Romain Bignon
c90b5844e4 split filters into several files 2014-07-11 15:24:19 +02:00
Laurent Bachelier
d9e04292c4 Only load FirefoxCookies as needed
Which is probably never; the feature is unused as far as I know.
2014-07-10 10:15:38 +02:00
smurail
8cb44a45a7 possibility to set custom separators for decimals 2014-07-09 19:02:23 +02:00
Florent
ce1a00acce Import of FormFieldConversionWarning can not fail anymore
The test was here for python3 user, to not import browser1.
Since the load of the exception does not need browser1 anymore (see
"Remove import of browser1 in BaseApplication"), this check is useless
2014-07-09 15:53:46 +02:00
Florent
6759dec279 Add missing import 2014-07-09 14:58:49 +02:00
Florent
9ae7cc692f Fix a regression: restore ListItem version
And move it in the same place than before to help the diff...
2014-07-09 14:51:34 +02:00
Florent
e5f11a15eb s/IBaseCap/CapBase/ (refs #1424) 2014-07-09 12:59:31 +02:00