diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_user.py | 6 |
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 |