diff options
author | John L. Villalovos <john@sodarock.com> | 2022-01-10 18:11:05 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-01-13 10:31:24 -0800 |
commit | a2e7c383e10509b6eb0fa8760727036feb0807c8 (patch) | |
tree | 934b8e03c90239f1eaa80dcef347e0774ecb589f /tests/functional/api/test_groups.py | |
parent | 12435d74364ca881373d690eab89d2e2baa62a49 (diff) | |
download | gitlab-a2e7c383e10509b6eb0fa8760727036feb0807c8.tar.gz |
chore: add EncodedId string class to use to hold URL-encoded paths
Add EncodedId string class. This class returns a URL-encoded string
but ensures it will only URL-encode it once even if recursively
called.
Also added some functional tests of 'lazy' objects to make sure they
work.
Diffstat (limited to 'tests/functional/api/test_groups.py')
-rw-r--r-- | tests/functional/api/test_groups.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py index 77562c1..105acbb 100644 --- a/tests/functional/api/test_groups.py +++ b/tests/functional/api/test_groups.py @@ -100,6 +100,7 @@ def test_groups(gl): member = group1.members.get(user2.id) assert member.access_level == gitlab.const.OWNER_ACCESS + gl.auth() group2.members.delete(gl.user.id) @@ -198,6 +199,11 @@ def test_group_subgroups_projects(gl, user): assert gr1_project.namespace["id"] == group1.id assert gr2_project.namespace["parent_id"] == group1.id + gr1_project.delete() + gr2_project.delete() + group3.delete() + group4.delete() + @pytest.mark.skip def test_group_wiki(group): |