diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2020-08-23 21:16:20 +0200 |
---|---|---|
committer | Nejc Habjan <nejc.habjan@siemens.com> | 2020-08-23 21:19:47 +0200 |
commit | 204782a117f77f367dee87aa2c70822587829147 (patch) | |
tree | b7d68fc7e4833139cc8c1d2360059b90ee43b3de /gitlab/tests/conftest.py | |
parent | 76b2cadf1418e4ea2ac420ebba5a4b4f16fbd4c7 (diff) | |
download | gitlab-refactor/split-unit-tests.tar.gz |
refactor: rewrite unit tests for objects with responsesrefactor/split-unit-tests
Diffstat (limited to 'gitlab/tests/conftest.py')
-rw-r--r-- | gitlab/tests/conftest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gitlab/tests/conftest.py b/gitlab/tests/conftest.py index 2d4cb3a..98d97ae 100644 --- a/gitlab/tests/conftest.py +++ b/gitlab/tests/conftest.py @@ -16,9 +16,7 @@ def gl(): @pytest.fixture def gl_trailing(): return gitlab.Gitlab( - "http://localhost/", - private_token="private_token", - api_version=4 + "http://localhost/", private_token="private_token", api_version=4 ) @@ -38,6 +36,7 @@ def default_config(tmpdir): config_path.write(valid_config) return str(config_path) + @pytest.fixture def group(gl): return gl.groups.get(1, lazy=True) |