summaryrefslogtreecommitdiff
path: root/tools/functional/api/test_users.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-04-29 08:21:50 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-04-30 07:07:17 -0700
commitab343ef6da708746aa08a972b461a5e51d898f8b (patch)
tree98eabab08089a21386e4e56a1fe8fd6ff90af52d /tools/functional/api/test_users.py
parent98891eb2c52051134fd3046a4ef5d7b0a6af8fec (diff)
downloadgitlab-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.py5
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()]