diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2020-10-08 22:12:35 +0200 |
---|---|---|
committer | Nejc Habjan <nejc.habjan@siemens.com> | 2020-10-08 22:12:35 +0200 |
commit | 65ce02675d9c9580860df91b41c3cf5e6bb8d318 (patch) | |
tree | fb3e62f8e01b2460050439f81ce157c4127abce9 /tools/functional/api/test_users.py | |
parent | 61e43eb186925feede073c7065e5ae868ffbb4ec (diff) | |
download | gitlab-refactor/split-functional-tests.tar.gz |
chore: apply suggestionsrefactor/split-functional-tests
Diffstat (limited to 'tools/functional/api/test_users.py')
-rw-r--r-- | tools/functional/api/test_users.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/functional/api/test_users.py b/tools/functional/api/test_users.py index e92c0fd..485829d 100644 --- a/tools/functional/api/test_users.py +++ b/tools/functional/api/test_users.py @@ -63,12 +63,14 @@ def test_delete_user(gl, wait_for_sidekiq): def test_user_projects_list(gl, user): projects = user.projects.list() - assert len(projects) == 0 + assert isinstance(projects, list) + assert not projects def test_user_events_list(gl, user): events = user.events.list() - assert len(events) == 0 + assert isinstance(events, list) + assert not events def test_user_bio(gl, user): |