diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-04-29 08:21:50 -0700 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-04-30 07:07:17 -0700 |
| commit | ab343ef6da708746aa08a972b461a5e51d898f8b (patch) | |
| tree | 98eabab08089a21386e4e56a1fe8fd6ff90af52d /tools/functional/api/test_users.py | |
| parent | 98891eb2c52051134fd3046a4ef5d7b0a6af8fec (diff) | |
| download | gitlab-ab343ef6da708746aa08a972b461a5e51d898f8b.tar.gz | |
chore: have flake8 check the entire project
Have flake8 run at the top-level of the projects instead of just the
gitlab directory.
Diffstat (limited to 'tools/functional/api/test_users.py')
| -rw-r--r-- | tools/functional/api/test_users.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/functional/api/test_users.py b/tools/functional/api/test_users.py index 044831a..1ef237c 100644 --- a/tools/functional/api/test_users.py +++ b/tools/functional/api/test_users.py @@ -3,9 +3,6 @@ GitLab API: https://docs.gitlab.com/ee/api/users.html https://docs.gitlab.com/ee/api/users.html#delete-authentication-identity-from-user """ -import time -from pathlib import Path - import pytest import requests @@ -57,7 +54,7 @@ def test_delete_user(gl, wait_for_sidekiq): new_user.delete() result = wait_for_sidekiq(timeout=60) - assert result == True, "sidekiq process should have terminated but did not" + assert result is True, "sidekiq process should have terminated but did not" assert new_user.id not in [user.id for user in gl.users.list()] |
