From 7867863b6cd21a87b97df7cabd6871f6a5204602 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 18 Aug 2018 21:49:20 +0200 Subject: Add ability to remove a user --- src/tests/test_user.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tests/test_user.py') 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 -- cgit v1.2.1