Commit Graph

86 Commits (refactor)

Author SHA1 Message Date
blallo c5a4b86349
Tons of new tests and new_model refinement 2020-12-27 19:48:57 +01:00
blallo b0e5d00994
Update dev-related files 2020-12-27 19:48:25 +01:00
blallo 401f01f110
Minor fix 2020-12-27 19:48:02 +01:00
blallo 30c46c059a
Rename test module 2020-12-27 19:47:28 +01:00
blallo b400127cc6
Fix bugs (thanks to integration tests) 2020-11-30 19:16:36 +01:00
blallo 6bd1beba9e
Add some integration tests 2020-11-30 19:16:10 +01:00
blallo e202d54a7d
Add pytest-integration 2020-11-27 19:42:00 +01:00
blallo 67c7830ba4
Add and improve new_model unit tests 2020-11-27 19:41:45 +01:00
blallo 95bc52ebd8
Add docs and clarify 2020-11-27 19:41:09 +01:00
blallo ac0ab02d6e
Massive code update 2020-11-11 22:25:02 +01:00
blallo d024232d66
Add logs target in openldap Makefile 2020-11-11 22:24:11 +01:00
blallo 166b542846
Set 88 chars per line 2020-11-11 22:23:30 +01:00
blallo d87c89a075
Update Pipfile 2020-11-11 22:23:10 +01:00
blallo b7316ff513
Refactor helper script 2020-08-31 11:02:03 +02:00
blallo 67c83975d1
Switch to mixins to build async_ldap model classes 2020-08-31 11:01:46 +02:00
blallo 205c87dc49
Update setup.py and Pipfile 2020-08-31 10:11:20 +02:00
blallo c05b023bdb
Use async model in api 2020-08-29 20:15:02 +02:00
blallo 1b97d6d7ca
Refactor describe func in model 2020-08-29 20:14:20 +02:00
blallo b979002f78
Black'd 2020-08-29 20:13:14 +02:00
blallo e41e03f464
Move singleton logic in function 2020-08-29 20:10:56 +02:00
blallo d9a6db63d7
Add description 2020-08-29 20:07:56 +02:00
blallo 6fea75022f
Refactor config logic for bools
If a config paramenter is a boolean, the resulting configuration is the
logic and of all those given (including defaults). BEWARE in future
config implementations!
2020-08-29 20:06:08 +02:00
blallo 12f37b3a55
Move custom exceptions in own module 2020-08-29 20:05:15 +02:00
blallo a0cf7e9603
Silence mypy 2020-08-29 20:03:59 +02:00
blallo 8779db9ca0
Stub methods in async client 2020-08-29 19:42:24 +02:00
blallo e454fbd84a
Add sync method and method stubs to Service 2020-08-29 19:41:34 +02:00
blallo 66885641c4
Add test and stub test 2020-08-29 19:40:06 +02:00
blallo a22f459915
Clean harder 2020-08-23 21:32:20 +02:00
blallo 08c45b54f2 Do not verify cert in dev container 2020-08-23 21:31:23 +02:00
blallo 2bc7f0b75f
Improve error verification in async_model tests. 2019-07-19 14:29:46 +02:00
blallo d9e8eb23e3
Tests for Service create method. 2019-07-18 18:15:43 +02:00
blallo ce4c085e3f
User modify_password and verify_password. Failing Service tests. 2019-07-13 16:13:50 +02:00
blallo 7634f0f530
Better logging style and improved tests. 2019-07-13 11:40:35 +02:00
blallo 79f682cbb7
Password now hashed in app. 2019-07-13 11:39:06 +02:00
blallo 2b46eb0353
Renamed exceptions. 2019-07-13 11:35:03 +02:00
blallo fed48022af
Improve tests and added tests for sync, modify and remove. 2019-07-06 21:27:00 +02:00
blallo 3454c194b1
Test for create_new_. 2019-07-06 21:26:21 +02:00
blallo f05fe8a0d5
Improve User remove. 2019-07-06 21:25:23 +02:00
blallo ec472218c4
Manage append and replace User modify. 2019-07-06 21:25:01 +02:00
blallo 79d7dcc653
Improve User sync. 2019-07-06 21:16:06 +02:00
blallo fe3450b886
Tests for name property. 2019-07-01 22:48:04 +02:00
blallo f558492975
Improved singletonic models. 2019-07-01 22:37:56 +02:00
blallo 706f109faf
Create, sync, modify and remove User. 2019-06-30 21:26:27 +02:00
blallo 0f7882a387
Search user by attr and by uid. 2019-06-30 21:24:55 +02:00
blallo 1be1aac9d0
Hacker, Robots, Congregations now singletons. 2019-06-30 21:23:11 +02:00
blallo 7e6b757e3a
Style. 2019-06-30 21:19:04 +02:00
blallo ed8af40392
Tests on async part moved. 2019-06-30 21:16:48 +02:00
blallo 2cf07d6732
Moved ldap async modules to dedicated subpkg. 2019-05-04 17:59:21 +02:00
blallo 8dce6566ee
Tests for full coverage of async_model. 2019-05-01 15:34:52 +02:00
blallo b466bf8ed2
Leafs are singletons, bound to the client object. 2019-05-01 15:34:46 +02:00