Skip to content

Commit

Permalink
test(api): fix current user mail count in newer gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch authored and JohnVillalovos committed Dec 11, 2021
1 parent e3035a7 commit af33aff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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):
Expand Down

0 comments on commit af33aff

Please sign in to comment.