Commit graph

40 commits

Author SHA1 Message Date
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
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