diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-18 21:49:20 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-18 21:49:20 +0200 |
commit | 7867863b6cd21a87b97df7cabd6871f6a5204602 (patch) | |
tree | 95ca60c5a7a064b2d916120a9c220d0383eb4a07 /src/tests/test_user.py | |
parent | e9ad5e5069f65aa25cecf4cef136a3ab728fda59 (diff) | |
download | liberationCenter-7867863b6cd21a87b97df7cabd6871f6a5204602.tar.xz liberationCenter-7867863b6cd21a87b97df7cabd6871f6a5204602.zip |
Add ability to remove a user
Diffstat (limited to '')
-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 |