mdipierro
35eaba1096
removed duplicated code, using pydal's _compat.py
2016-08-01 03:39:22 -05:00
niphlod
cae10a68c0
fixed most of py3 warnings, output is much cleaner this way
2016-07-18 23:45:28 +02:00
ilvalle
8aecaf4514
PY3 fixes and added tests for gluon/admin.py
2016-06-24 22:54:56 +02:00
ilvalle
61795bc65e
enabled test_web.py in PY3
2016-06-22 19:07:58 +02:00
mdipierro
ce3f5fbff2
Merge pull request #1365 from niphlod/feature/scheduler_crontab
...
repeats via cronline expression
2016-06-18 07:49:08 -05:00
niphlod
6bb255286a
repeats via cronline expression
2016-06-15 21:32:51 +02:00
ilvalle
2aeb063890
enabled test_appadmin, fix markmin2html, fix main.py
2016-06-15 20:17:58 +02:00
ilvalle
48209f5bdf
fix compileapp
2016-06-13 20:20:49 +02:00
ilvalle
34f753be56
fix languages
2016-06-13 20:20:49 +02:00
ilvalle
a27f6f88ef
fix serializers, websocket_messaging
2016-06-13 20:20:49 +02:00
ilvalle
ab2cdd595b
fix utils
2016-06-13 20:20:49 +02:00
ilvalle
7259516627
fix tools
2016-06-13 20:20:44 +02:00
mdipierro
cadb130518
fixed expose tests
2016-06-12 20:27:20 -05:00
mdipierro
f4a353960b
merged conflicts
2016-06-12 19:59:58 -05:00
Chen Rotem Levy
9877ad5155
fix in_base for base='/'
...
If the base directory already ends with '/' the test failed.
It failed because we added an extra '/' to make sure that '/foobar' is
not under '/foo', so ask '/foobar/'.startswith('/foo/').
Whoever when we have the base already start with '/' we might test:
'/foo/bar/'.startwith('/foo//'), and give a false negative. We
shouldn't have this case, because we normalized the path, but in the
case of the root directory ('/') even a normalized path ends with '/',
and thus when base='/' this function failed.
Some re-factoring was needed to make this base testable.
2016-06-11 12:19:16 +03:00
Chen Rotem Levy
e020395bdc
apply pull request #1313
...
This should have resolved security issue#1261 -- gluon.tools.Expose
symlinks, however it does not deal well with the case where the base
exposed directory is '/'
2016-06-11 11:20:23 +03:00
ilvalle
fd850ab46f
fix validators, updated gluon/contrib/ipaddr
2016-06-07 19:50:49 +02:00
ilvalle
92374741ff
fix rewrite, enabled test_router & test_routes
2016-06-04 17:42:36 +02:00
ilvalle
71ba0e515f
updated portalocker, few py3 syntax/import fix
2016-06-04 14:07:42 +02:00
ilvalle
dcd24cf88c
Updated fpdf to the last version (py3 compatible), fix contrib/appconfig
2016-06-04 09:23:31 +02:00
ilvalle
97eb013831
fix test_html and test_template for py3
2016-06-03 11:46:32 +02:00
ilvalle
db8306b5c4
fix iteritems, enabled test_cache & test_dal for 3.5
2016-06-02 17:21:36 +02:00
ilvalle
707330accd
Enabled 3.5 on travis
2016-06-02 16:06:49 +02:00
ilvalle
a1fd92b7f8
updated imports in tests
2016-06-02 14:28:21 +02:00
ilvalle
01bab81432
manually adapt few imports
2016-06-01 20:16:30 +02:00
Michele Comitini
67f85fd631
allow token renewal with http authorization header.
2016-05-31 23:55:58 +02:00
ilvalle
48e10a3793
running libfuturize.fixes.fix_print_with_import
2016-05-30 21:23:40 +02:00
ilvalle
a5599f3eab
running lib2to3.fixes.fix_idioms
2016-05-29 08:31:20 +02:00
ilvalle
35900da19b
running lib2to3.fixes.fix_except
2016-05-29 08:31:19 +02:00
Leonel Câmara
180ebcd7f1
Removed unnecessary version checks
...
Fixed 2 memory leaks in restricted.py
2016-05-19 19:03:54 +01:00
Leonel Câmara
1029a70d10
more tests for languages module
...
removed 2.5/2.6 compatibility in test_validators.py
2016-05-12 02:00:14 +01:00
mdipierro
be1845ad83
Merge pull request #1327 from leonelcamara/ditch26
...
Ditch python2.6
2016-05-11 01:35:52 -05:00
Leonel Câmara
a9ee9a6b58
remove simplejson
2016-05-11 00:47:23 +01:00
Michele Comitini
4658e172c3
removed forgotten print statement
2016-05-10 01:11:08 +02:00
Michele Comitini
2c26a8c33a
make allows_jwt a real decorator. Tests included!
2016-05-10 00:50:33 +02:00
Leonel Câmara
810520b3f0
more tests for validators
2016-05-03 02:38:50 +01:00
mdipierro
af18582198
Merge pull request #1315 from niphlod/enhancement/scheduler
...
can now process tasks with huge_results
2016-05-02 10:16:38 -05:00
niphlod
2031a43058
can now process tasks with huge_results
...
Added tests, too. Cleanups leftovers better, so fixes #1304
2016-05-01 22:01:49 +02:00
Leonel Câmara
b8b63302f4
add test_appadmin to tests/__init__.py
2016-04-26 17:17:19 +01:00
Leonel Câmara
fa1af36adf
partial tests for appadmin, testing a bunch of other stuff in the process
2016-04-26 04:31:22 +01:00
mdipierro
8ed6736e82
Merge pull request #1306 from BuhtigithuB/improve/html-and-it-tests
...
improve html.py, new url_encode=True/False test, review/close #1279
2016-04-24 18:44:38 -05:00
Hardirc
c6b844a3e4
minor improve html.py, new url_encode=True/False test, review and close 1279
2016-04-24 09:47:57 -04:00
Leonel Câmara
c7bb69a0b0
consistent naming
2016-04-21 20:12:00 +01:00
Leonel Câmara
8b402b491c
100% coverage for recfile
2016-04-21 20:01:23 +01:00
mdipierro
85819a5f83
Merge pull request #1299 from BuhtigithuB/improve/auth-tests
...
New Auth tests
2016-04-17 21:27:35 -05:00
Hardirc
37fa90fbd2
.has_..., .add_..., .del_permission tests cases
2016-04-17 13:28:41 -04:00
Hardirc
2f0de8d8a0
New Auth tests & del_membership('role') api harmonization
2016-04-17 11:35:17 -04:00
Hardirc
70a0209e31
Reorder tests cases and make inventory + news tests
2016-04-16 21:33:24 -04:00
Hardirc
92b3c8f777
New Auth tests
2016-04-16 19:35:06 -04:00
Hardirc
d622a8aa66
New test suite for prettydate() + fix wrong number of days for month
2016-04-16 14:54:34 -04:00