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:50112 - Port ACI test suit from TET to python3(Delete and Add) #3378
Comments
Comment from firstyear (@Firstyear) at 2019-04-04 02:45:42 use with pytest.raises instead of try except |
Comment from aborah (@aborah-sudo) at 2019-04-04 04:30:06 rebased onto 4d4c74a687b87c75d5a0de1b1d73112dfc5b0537 |
Comment from aborah (@aborah-sudo) at 2019-04-04 04:35:41 @Firstyear , changes are done , Please check |
Comment from spichugi (@droideck) at 2019-04-04 15:33:26 Why do you add |
Comment from aborah (@aborah-sudo) at 2019-04-04 15:36:25
There is a dynamic group which has : group.add("memberURL", f'ldap:///{DEFAULT_SUFFIX}??sub?(&(ou=People)(cn=test_user_1000))') as by default if you create a user with user = users.create_test_user(uid=i, gid=i) the dn will be 'uid=test_user_1000,ou=People,dc=example,dc=com' but no ou: 'People' but dynamic group need ou: 'People ' |
Comment from spichugi (@droideck) at 2019-04-12 11:16:58
It doesn't make sense... We don't create users with |
Comment from spichugi (@droideck) at 2019-04-12 11:20:16 You can use |
Comment from aborah (@aborah-sudo) at 2019-04-12 16:24:02 rebased onto b3772c5580fe5c9ebaa120a4edd2af7bdc074b74 |
Comment from aborah (@aborah-sudo) at 2019-04-12 16:25:15 @droideck , changes are done , Please check |
Comment from aborah (@aborah-sudo) at 2019-04-12 16:26:27 rebased onto 1cfd7584b2757af19eadbb3ed5e40537abbd6c43 |
Comment from spichugi (@droideck) at 2019-04-12 16:30:03 It shouldn't be a docstring. It should be a commented text. |
Comment from spichugi (@droideck) at 2019-04-12 16:33:07 Please, go through |
Comment from spichugi (@droideck) at 2019-04-12 16:35:22 You already have |
Comment from spichugi (@droideck) at 2019-04-12 16:58:19 I think it will make more sense if you create a user (and assign it to |
Comment from aborah (@aborah-sudo) at 2019-04-12 17:25:29
You cant do it as you only have add privilege to parents . And UserAccounts(conn, DEFAULT_SUFFIX, rdn='uid=test_user_1000, ou=people') and UserAccounts(topo.standalone, DEFAULT_SUFFIX).get('test_user_1').delete() are different see conn and topo.standalone |
Comment from aborah (@aborah-sudo) at 2019-04-12 17:26:45 rebased onto d826d53052f08e9dc81f193eda05b703717048f0 |
Comment from aborah (@aborah-sudo) at 2019-04-12 17:27:31 @droideck , changes are done , Please check |
Comment from spichugi (@droideck) at 2019-04-12 21:29:01
Right. We can't use the same UserAccount instance for the
The imperative mood plus these two exclamation marks (after a space) can be misunderstood as a rude gesture (it sounds a bit like you are yelling at me). P.S. I understand that it wasn't, probably, your intention. But to be sure, please, use polite language forms. :) |
Comment from aborah (@aborah-sudo) at 2019-04-13 04:47:58 rebased onto b673a77540f5218f5c402258c0e5ca8d39d6c4ba |
Comment from aborah (@aborah-sudo) at 2019-04-13 04:48:42 rebased onto a6a53483afa7e421a693cab73299bbaf05b8b303 |
Comment from aborah (@aborah-sudo) at 2019-04-13 04:50:17
Obviously it was not my intention , will keep in mind in future |
Comment from aborah (@aborah-sudo) at 2019-04-13 04:50:22 @droideck , changes are done , Please check |
Comment from spichugi (@droideck) at 2019-04-15 17:35:15 LGTM! Thanks! |
Comment from aborah (@aborah-sudo) at 2019-04-16 10:30:48 rebased onto af97382 |
Comment from spichugi (@droideck) at 2019-04-16 10:47:23 Pull-Request has been merged by droideck |
Patch |
Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50319
Port ACI test suit from TET to python3(Delete and Add)
Resolves: #3171
Reviewed by: ???
The text was updated successfully, but these errors were encountered: