diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-09-08 23:42:05 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2021-09-11 07:14:46 -0700 |
commit | 3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf (patch) | |
tree | 6f62a35e235c28b3a289f26c59e0ffbb2d6a619b /tests/functional/api/test_snippets.py | |
parent | 2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba (diff) | |
download | gitlab-3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf.tar.gz |
refactor(objects): remove deprecated constants defined in objects
BREAKING CHANGE: remove deprecated constants defined in
gitlab.v4.objects, and use only gitlab.const module
Diffstat (limited to 'tests/functional/api/test_snippets.py')
-rw-r--r-- | tests/functional/api/test_snippets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/api/test_snippets.py b/tests/functional/api/test_snippets.py index 936fbfb..9e0f833 100644 --- a/tests/functional/api/test_snippets.py +++ b/tests/functional/api/test_snippets.py @@ -33,7 +33,7 @@ def test_project_snippets(project): "title": "snip1", "file_name": "foo.py", "content": "initial content", - "visibility": gitlab.v4.objects.VISIBILITY_PRIVATE, + "visibility": gitlab.VISIBILITY_PRIVATE, } ) |