diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-11-30 08:37:53 -0800 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-11-30 08:37:53 -0800 |
| commit | 6b8067e668b6a37a19e07d84e9a0d2d2a99b4d31 (patch) | |
| tree | 6f3accf36834c541caa68b46c402d67febeed041 /tests/functional/api/test_gitlab.py | |
| parent | c0aa0e1c9f7d7914e3062fe6503da870508b27cf (diff) | |
| download | gitlab-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_gitlab.py')
| -rw-r--r-- | tests/functional/api/test_gitlab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/api/test_gitlab.py b/tests/functional/api/test_gitlab.py index e79492f..d54a7f1 100644 --- a/tests/functional/api/test_gitlab.py +++ b/tests/functional/api/test_gitlab.py @@ -118,11 +118,11 @@ def test_namespaces(gl): def test_notification_settings(gl): settings = gl.notificationsettings.get() - settings.level = gitlab.NOTIFICATION_LEVEL_WATCH + settings.level = gitlab.const.NOTIFICATION_LEVEL_WATCH settings.save() settings = gl.notificationsettings.get() - assert settings.level == gitlab.NOTIFICATION_LEVEL_WATCH + assert settings.level == gitlab.const.NOTIFICATION_LEVEL_WATCH def test_user_activities(gl): |
