summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-09-08 23:42:05 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-09-11 12:02:17 +0200
commitb8d379d5be016081992c06312d7d4790a5d52bfb (patch)
tree6f62a35e235c28b3a289f26c59e0ffbb2d6a619b /tests
parent2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba (diff)
downloadgitlab-refactor/consts-in-const-module.tar.gz
refactor(objects): remove deprecated constants defined in objectsrefactor/consts-in-const-module
BREAKING CHANGE: remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/api/test_snippets.py2
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,
}
)