summaryrefslogtreecommitdiff
path: root/tests/functional/api
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-11-24 17:43:46 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-11-24 20:41:36 -0800
commit308210b3dee15c844cd5db4ddd8c7404bb188990 (patch)
tree4df88a7a967e209afcf2efea9efc5fd8be358128 /tests/functional/api
parentab82fd84ba3cecf766915112dcb46fdfab383e73 (diff)
downloadgitlab-jlvillal/mypy_strict.tar.gz
WIP: work on enable mypy 'strict' modejlvillal/mypy_strict
Diffstat (limited to 'tests/functional/api')
-rw-r--r--tests/functional/api/test_users.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional/api/test_users.py b/tests/functional/api/test_users.py
index 1ef237c..a21298e 100644
--- a/tests/functional/api/test_users.py
+++ b/tests/functional/api/test_users.py
@@ -33,7 +33,9 @@ def test_create_user(gl, avatar_path):
def test_block_user(gl, user):
- user.block()
+ result = user.block()
+ result = user.block()
+ assert result == "dkdkdkdk"
users = gl.users.list(blocked=True)
assert user in users