summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_current_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/api/test_current_user.py')
-rw-r--r--tests/functional/api/test_current_user.py4
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):