Commit graph

96 commits

Author SHA1 Message Date
Alexandre Aubin
b0fd78657e Moaaaar lint/test fixes 2021-08-27 19:45:07 +02:00
Alexandre Aubin
049523f2b6 Fix unused import / vars 2021-08-27 18:58:18 +02:00
alexAubin
c848185709 🎨 Format Python code with Black 2021-08-27 16:44:39 +00:00
Alexandre Aubin
e68de91a82 Merge branch 'dev' into rework-authenticator-system 2021-08-27 18:43:57 +02:00
alexAubin
274a534beb 🎨 Format Python code with Black 2021-08-23 13:25:51 +00:00
Alexandre Aubin
6ff033d2dc Attempt to fix tests for CLI auth 2021-08-23 10:44:28 +02:00
Alexandre Aubin
fa509e6c2e Merge branch 'dev' into rework-authenticator-system 2021-08-22 22:33:33 +02:00
Alexandre Aubin
32aea592e1 Forgot to mark some tests as skipped 2021-08-22 11:24:21 +02:00
Alexandre Aubin
3e256f8e88 test: Make flake8 happy 2021-08-22 11:17:01 +02:00
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
Alexandre Aubin
67d9c9cdd1 Get rid of msettings, replace with a convenient singleton class that also wraps prompt and display 2021-07-09 21:39:07 +02:00
Alexandre Aubin
ebdb1e22ee Further attempt to simplify authentication management code + get rid of msignals madness 2021-07-09 20:42:26 +02:00
Alexandre Aubin
6310ef5b6e [wip] Try to simplify authentication code more, properly differentiate credentials authentication vs. session authentication, trash the 'msignals' mess 2021-06-19 17:16:22 +02:00
Alexandre Aubin
4345081e6f Rename 'password' into 'credentials' in authenticator stuff for semantic, because we could also need a login or other stuff 2021-06-14 17:23:41 +02:00
Alexandre Aubin
f985507761 Fix f-strings and linter 2021-06-13 19:09:24 +02:00
Alexandre Aubin
a012369164 Remove stale strings + add test for string inconsistencies 2021-06-13 19:05:30 +02:00
Alexandre Aubin
d0c569eead More cleaning up, test fixing 2021-06-13 18:51:13 +02:00
Alexandre Aubin
9b3bb1362c Clean old ldap stuff, naive attempt to fix tests 2021-06-13 16:20:34 +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