Commit graph

118 commits

Author SHA1 Message Date
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
Kay0u
1cfec24ac2
fix moulinette cli _do_authenticate 2020-01-02 23:17:32 +08:00
Kay0u
3abde9c008
default use global conf 2020-01-02 12:59:16 +08:00
Kay0u
fdb4db0124
add more test for auth 2020-01-02 12:33:51 +08:00
Kay0u
535f4bcb3b
moulinette_cli fixture 2020-01-02 12:33:10 +08:00
Kay0u
9315cab495
add more tests case 2020-01-02 12:32:57 +08:00
Kay0u
ce5d7ddaf0
fix conf authenticate all 2020-01-02 12:31:35 +08:00
Kay0u
a83923f831
moving some lines 2020-01-02 12:11:10 +08:00
Kay0u
064ff259bd
fix test_process 2020-01-02 01:02:47 +08:00
Kay0u
315db8ac71
more tests for actionmap 2019-12-28 23:31:23 +08:00
Kay0u
6d255bd839
install_requires: python-ldap 2019-12-22 18:16:54 +08:00
Kay0u
6edc021f83
Add more tests 2019-12-22 00:36:20 +08:00
Kay0u
641126e344
Minimal change to support python3 2019-12-20 16:09:57 +08:00
decentral1se
54b8cab133 Apply Black on all the code base 2019-11-25 17:21:13 +01:00
Alexandre Aubin
952d707362 Make the linter gods happy 2019-11-20 00:27:34 +01:00
Alexandre Aubin
9b475f092e Fix broken test due to change in function name 2019-11-20 00:12:19 +01:00
Alexandre Aubin
53ab4709d1 Rewrite auth tests in a more clean way, now using webtest to run the API 2019-11-19 21:12:58 +01:00
Alexandre Aubin
9fda7f4716 Merge branch 'stretch-unstable' into simplify-auth-mechanism 2019-11-19 16:55:06 +01:00
Alexandre Aubin
19348421b0
monkeypatch and tmp_path not used
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:33:49 +01:00
Alexandre Aubin
d3496425aa
monkeypatch and tmp_path not used
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:32:28 +01:00
Luke Murphy
cef72f7de9
Add some unit tests for the actionsmap module 2019-09-11 00:47:10 +01:00
Luke Murphy
2c84ee1541
Add tests for text/serialize modules
Also take a pass on the docstrings.
2019-08-28 17:57:16 +02:00
Alexandre Aubin
2addea1e08 Implement basic tests for auth mechanism 2019-08-23 02:37:57 +02:00
Alexandre Aubin
82ba7e5b04 Moar things to run tests correctly on the API 2019-08-22 12:30:26 +02:00
Alexandre Aubin
6d44c46740 Be able to run test on the API 2019-08-22 03:27:31 +02:00
Luke Murphy
7b6ff983cd
Appease linter with right spacing 2019-08-01 16:54:55 +02:00
Luke Murphy
14a3d63453
Test the cache file opening and creation 2019-07-28 22:04:07 +02:00
Laurent Peuch
69b0d496dd [fix] fix all tests that weren't formatting translated strings correctly 2019-07-28 21:38:37 +02:00
Luke Murphy
c70bfe5589
Invoke Pytest fixture options correctly 2019-07-20 10:44:39 +02:00
Luke Murphy
ee1c67811b
Migrate utility tests to Pytest top level folder 2019-07-14 11:58:57 +02:00