aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/test_user.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_user.py b/src/tests/test_user.py
index 3d7ab50..f39279e 100644
--- a/src/tests/test_user.py
+++ b/src/tests/test_user.py
@@ -13,3 +13,9 @@ def test_register_user(app):
with app.app_context():
user = User(app)
assert user.register("neodarz") is None
+
+def test_register_and_remove_user(app):
+ with app.app_context():
+ user = User(app)
+ assert user.register("neodarz") is None
+ assert user.remove("neodarz") is None