summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_snippets.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-11-30 08:37:53 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-11-30 08:37:53 -0800
commit6b8067e668b6a37a19e07d84e9a0d2d2a99b4d31 (patch)
tree6f3accf36834c541caa68b46c402d67febeed041 /tests/functional/api/test_snippets.py
parentc0aa0e1c9f7d7914e3062fe6503da870508b27cf (diff)
downloadgitlab-6b8067e668b6a37a19e07d84e9a0d2d2a99b4d31.tar.gz
chore: use constants from gitlab.const module
Have code use constants from the gitlab.const module instead of from the top-level gitlab module.
Diffstat (limited to 'tests/functional/api/test_snippets.py')
-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 9e0f833..ce235f3 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.VISIBILITY_PRIVATE,
+ "visibility": gitlab.const.VISIBILITY_PRIVATE,
}
)