summaryrefslogtreecommitdiff
path: root/tools/python_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python_test.py')
-rw-r--r--tools/python_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py
index 8791da2..aa881b1 100644
--- a/tools/python_test.py
+++ b/tools/python_test.py
@@ -40,6 +40,9 @@ for user in users_list:
assert(new_user.username == user.username)
assert(new_user.email == user.email)
+new_user.block()
+new_user.unblock()
+
# SSH keys
key = new_user.keys.create({'title': 'testkey', 'key': SSH_KEY})
assert(len(new_user.keys.list()) == 1)