Commit graph

79 commits

Author SHA1 Message Date
Alexandre Aubin
2e2a41c59d Skip ldap tests because not working, dunno why but they are to be dropped or moved to Yunohost soon anyway 2021-08-22 10:55:27 +02:00
Alexandre Aubin
27e7cd294a tests: improve/fix i18n tests 2021-08-20 14:18:54 +02:00
Alexandre Aubin
9b8f18b116 Add test for i18n format consistency + fix strings 2021-08-20 10:29:51 +02:00
Alexandre Aubin
6ab93cfc86 Add a test for i18n keys 2021-08-20 10:24:46 +02:00
Kay0u
5cd0cb752b
Remove copy pasta 2021-01-26 21:38:09 +01:00
Kay0u
53cbca2c1e
Add test without action 2021-01-26 21:19:26 +01:00
Kay0u
63ae3b677f
remove stdinfo 2021-01-26 16:38:36 +01:00
Kay0u
c0e76df229
fix a warning during tests 2021-01-26 10:39:44 +01:00
Kay0u
b1d576d615
fix process tests 2021-01-25 18:53:42 +01:00
Kay0u
b0063c4293
fix ldap tests 2021-01-25 18:51:59 +01:00
Kay0u
dd6a419528
fix auth tests 2021-01-25 18:51:51 +01:00
Kay0u
53dd9fe973
fix actionsmap tests 2021-01-25 18:51:40 +01:00
Kay0u
771368a85c
remove old_slapdtest (only for python2) 2021-01-25 18:51:06 +01:00
Alexandre Aubin
0de154678c Black again, with the right version this time.. 2021-01-20 05:59:24 +01:00
Alexandre Aubin
677efcf6d6 Black? 2021-01-20 05:46:05 +01:00
Alexandre Aubin
570e53234a Drop support for python2 2021-01-20 05:35:35 +01:00
Alexandre Aubin
8105718705
Merge branch 'dev' into enh-python3 2021-01-19 23:04:25 +01:00
Laurent Peuch
f9454da5e7 [mod] trash this UX madness that is error_see_logs and improve error messages 2021-01-01 15:24:49 +01:00
Kay0u
1d73dac969
fix tests 2020-12-04 22:16:32 +01:00
Kay0u
bd27799283
Merge remote-tracking branch 'origin/dev' into enh-python3 2020-12-04 22:15:36 +01:00
Kay0u
b31e2b026e
format 2020-12-04 16:38:12 +01:00
Kayou
39446a8399
Update test_process.py 2020-12-02 22:24:36 +01:00
Alexandre Aubin
542a3ffc61
Merge pull request #254 from YunoHost/update-tox-config
update tox config
2020-09-16 22:59:32 +02:00
Alexandre Aubin
5feddfa93a Merge branch 'dev' into 4.1 2020-09-05 18:43:30 +02:00
Kay0u
2aca0a8183
update tox config 2020-08-20 00:42:36 +02:00
Kay0u
dbc4716b48
Fix tests 2020-08-14 17:54:38 +02:00
Alexandre Aubin
4635c555d8
Merge pull request #245 from YunoHost/simplify-interface-init
Simplify interface initialization + ugly optimization hack to speed up parser building
2020-08-14 15:39:31 +02:00
Alexandre Aubin
d40a91ab9b Let's hash the password like we do in core during tests 2020-07-27 20:24:30 +02:00
Kay0u
f2370c0444
don't restart ldap in tests 2020-05-12 19:29:13 +02:00
Kay0u
9f69f04e3f
fix import mock 2020-05-12 19:13:30 +02:00
Kay0u
708b0330d2
black/flake8 2020-05-01 14:03:26 +02:00
Kay0u
e8309384e5
fix tests 2020-05-01 14:00:10 +02:00
Alexandre Aubin
a2a6e6fe7c Attempt to fix the tests :s 2020-05-01 06:11:14 +02:00
Alexandre Aubin
b6258de2db We don't need to be able to disable websocket 2020-05-01 02:43:25 +02:00
Kay0u
0f37a70f27
Fix tests 2020-04-10 00:12:19 +02:00
Alexandre Aubin
2fba2747e3
Drunk Aleks forgot to remove the pdb :| 2020-04-03 20:13:56 +02:00
Alexandre Aubin
78f37782ae Bypass test_mkdir_with_permission if root 2020-04-02 01:31:14 +02:00
Alexandre Aubin
6e5b389e71
Merge branch 'stretch-unstable' into enh-python3 2020-04-01 19:41:11 +02:00
Kay0u
a10b40ed8d
Remove _encode_dict 2020-03-30 22:56:22 +02:00
Kay0u
9929d21fdc
test empty_update 2020-01-14 22:42:44 +07:00
Kay0u
b6cb1b5e7e
test with args/extra/type 2020-01-08 23:36:46 +07:00
Kay0u
c603a4e41b
test request with callback 2020-01-08 23:05:34 +07:00
Kay0u
88cdeb0b96
test auth ldap 2020-01-08 01:44:02 +08:00
Kay0u
32711aa034
refactor, and use fixture for ldap_server 2020-01-08 01:38:03 +08:00
Kay0u
6ee7caebd1
full tests for ldap.py 2020-01-08 00:09:12 +08:00
Kay0u
f05cc2c66a
test_ldap... to be continued 2020-01-07 17:47:50 +08:00
Kay0u
6a5971bb3c
better fix for lockfile 2020-01-07 01:15:26 +08:00
Kay0u
1bf566401d
fix tests 2020-01-02 23:50:21 +08:00
Kay0u
6490184333
format 2020-01-02 23:41:21 +08:00
Kay0u
247411cb9f
make flake8 happy 2020-01-02 23:39:35 +08:00