diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-28 02:07:18 +0100 |
|---|---|---|
| committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-28 02:07:18 +0100 |
| commit | 381c748415396e0fe54bb1f41a3303bab89aa065 (patch) | |
| tree | bc281c9466090be764f0a953570bb6dd7f575d70 /tests | |
| parent | 6b892e3dcb18d0f43da6020b08fd4ba891da3670 (diff) | |
| download | gitlab-381c748415396e0fe54bb1f41a3303bab89aa065.tar.gz | |
chore(tests): apply review suggestions
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/functional/conftest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/conftest.py b/tests/functional/conftest.py index 854a273..625cff9 100644 --- a/tests/functional/conftest.py +++ b/tests/functional/conftest.py @@ -31,8 +31,8 @@ def reset_gitlab(gl): user.delete(hard_delete=True) -def set_token(container, rootdir): - set_token_rb = rootdir / "set_token.rb" +def set_token(container, fixture_dir): + set_token_rb = fixture_dir / "set_token.rb" with open(set_token_rb, "r") as f: set_token_command = f.read().strip() @@ -137,7 +137,7 @@ def gitlab_config(check_is_alive, docker_ip, docker_services, temp_dir, fixture_ timeout=200, pause=5, check=lambda: check_is_alive("gitlab-test") ) - token = set_token("gitlab-test", rootdir=fixture_dir) + token = set_token("gitlab-test", fixture_dir=fixture_dir) config = f"""[global] default = local |
