New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR - Issue: 50860 - Port Password Policy test cases from TET to python3 part1 #3915
Comments
Comment from spichugi (@droideck) at 2020-03-23 19:41:37 Why not set the properties directly here? Why do you set them later? |
Comment from spichugi (@droideck) at 2020-03-24 10:21:51 The test docstring should reflect the feature of some component it tests. Please, don't mention the placeholder names in the docstrings |
Comment from spichugi (@droideck) at 2020-03-24 10:24:18 It should raise |
Comment from aborah (@aborah-sudo) at 2020-04-06 13:02:42 1 new commit added
|
Comment from aborah (@aborah-sudo) at 2020-04-06 13:04:06
|
Comment from aborah (@aborah-sudo) at 2020-04-06 13:08:22 2 new commits added
|
Comment from spichugi (@droideck) at 2020-04-22 01:32:11 Could you please elaborate on why have you merged all of the test cases into one? (I didn't ask for that for sure...) It is better to have separate test cases that test different features in isolated environments. If your case, if one line in the test fails - the whole test will fail. So it may mask more issues and it will make the debugging harder. |
Comment from vashirov (@vashirov) at 2020-04-29 12:11:20 The original test in TET was split into multiple functions, but they were not isolated. Each of the ~100 functions was part of the same test. So it was not a lot of sense to port them as they were. I asked Anuj to have a single test around the tested feature. |
Comment from spichugi (@droideck) at 2020-04-29 12:37:54
It is understandable and I am okay with it. The main issue that I have is that it is very hard to follow what actually is tested. The main feature is about 'passwordchange', okay. So we either need descriptive comments or we can isolate the cases into smaller chunks of test cases and naming them properly so it's easier to follow the idea behind the test. |
Comment from aborah (@aborah-sudo) at 2020-04-29 12:40:38
|
Comment from aborah (@aborah-sudo) at 2020-04-29 14:16:30 2 new commits added
|
Comment from aborah (@aborah-sudo) at 2020-04-29 14:17:59
|
Comment from spichugi (@droideck) at 2020-04-29 15:55:31 Both IDs are equal to each other |
Comment from spichugi (@droideck) at 2020-04-29 15:56:11 The test case fails for me... |
Comment from aborah (@aborah-sudo) at 2020-04-29 16:24:06
[root@localhost Documents]# pytest-3 password_policy_test.py password_policy_test.py .. [100%] ================================================================================================ warnings summary ================================================================================================= [root@localhost Documents]# rpm -qa | grep 389 |
Comment from spichugi (@droideck) at 2020-05-11 14:53:40 "Both IDs are equal to each other" is still not fixed. The rest looks good to me. |
Comment from aborah (@aborah-sudo) at 2020-05-11 15:14:12 rebased onto 6235ee7e7010ade5545092ea6ac751181907184a |
Comment from aborah (@aborah-sudo) at 2020-05-11 15:16:17 rebased onto 16a3da4bd981eee16b86b12d8179cd0aa565f6a6 |
Comment from aborah (@aborah-sudo) at 2020-05-11 15:21:24 rebased onto b87c13fd07e789627d525271058937f27a790071 |
Comment from aborah (@aborah-sudo) at 2020-05-22 15:05:41 rebased onto 675dc14304b8c3142557b5ce18383b67cae905bc |
Comment from aborah (@aborah-sudo) at 2020-05-28 06:44:48 rebased onto 1befe92 |
Comment from vashirov (@vashirov) at 2020-05-28 09:55:03 Pull-Request has been merged by vashirov |
Patch |
Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50861
Bug Description: Port Password Policy test cases from TET to python3 part1
Relates/Fixes: Resolves: #3914
Author: aborah-sudo
Reviewed by: ???
The text was updated successfully, but these errors were encountered: