https://pagure.io/389-ds-base/issue/48061
Reviewed by: ?
You can define constants here - for 'dc=test1,dc=com', 'dc=test2,dc=com', and 'dc=test3,dc=com'. And you can use it instead of the hardcoded values through the test case.
rebased onto b407a09659e20547e1edff3038a7673f2c122137
Thanks Simon, updated the test and added few more. I need to remove "import time" statement as it is unused, need to add more tests here - in coming PR soon.
rebased onto 8904b0c3170cebd51ff14ef82f15a77472f6324e
@vashirov @spichugi Please review the latest PR which includes all the config test cases. Thanks.
I think we should put 'xfail' mark for the failing issue instead of commenting
I think we should also check if it was added or not (present(attr, value) method)
present(attr, value)
The same check here and another line below
You can write it with for attr_value in ['on', 'off', 'ON', 'OFF']:
for attr_value in ['on', 'off', 'ON', 'OFF']:
You should use DSLdapObject for these operations. You can get it with this function https://pagure.io/389-ds-base/blob/master/f/src/lib389/lib389/backend.py#_551
And here
rebased onto 02a7f66af8dd5bcb954d00f69d1ff60212d61c52
@spichugi thanks for the valuable review. Comments are merged. Please note test_ndn_cache_enabled is not working due to https://pagure.io/389-ds-base/issue/49880
It already exists after the previous test case. It fails
But it is still 'on', you didn't set it to 'off'... Or did I miss something?
:)
rebased onto e3eead4c604cc228b5ab9f79dc155f40ca58af9d
Comments incorporated , please check. Thanks for the review.
It should be a decoratore
rebased onto 366de0417195f123f5bb5177138322d65a933353
Corrected. @spichugi please check.
LGTM! Ack
rebased onto 160e02736109915e01d031a0909ff81fe2858bf0
@spichugi rebased the commit. Please merge. Thanks.
Pull-Request has been merged by spichugi
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This pull request has been cloned to Github as issue and is available here: - https://github.com/389ds/389-ds-base/issues/2933
If you want to continue to work on the PR, please navigate to the github issue, download the patch from the attachments and file a new pull request.
Thank you for understanding. We apologize for all inconvenience.
Pull-Request has been closed by spichugi
https://pagure.io/389-ds-base/issue/48061
Reviewed by: ?