diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-11 15:36:32 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-11 15:36:32 +0100 |
commit | f929d35278176c91a6fc1e1628acfc059be592f6 (patch) | |
tree | a07c2c74e21afd38b63c1654771ff2a4c34de3f1 | |
parent | 039765b3e5c60cc8809ace9f5a7d819db3406428 (diff) | |
download | gitlab-feat/topics.tar.gz |
test(api): fix current user mail count in newer gitlabfeat/topics
-rw-r--r-- | tests/functional/api/test_current_user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/api/test_current_user.py b/tests/functional/api/test_current_user.py index 5802457..c8fc639 100644 --- a/tests/functional/api/test_current_user.py +++ b/tests/functional/api/test_current_user.py @@ -1,10 +1,10 @@ def test_current_user_email(gl): gl.auth() mail = gl.user.emails.create({"email": "current@user.com"}) - assert len(gl.user.emails.list()) == 1 + assert len(gl.user.emails.list()) == 2 mail.delete() - assert len(gl.user.emails.list()) == 0 + assert len(gl.user.emails.list()) == 1 def test_current_user_gpg_keys(gl, GPG_KEY): |