aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-05 16:25:41 +0300
committerBonfaceKilz2021-05-06 08:50:10 +0300
commit773c758efb1a48f97f85ac1e43e91355f67bde72 (patch)
tree8c511e7f0ffc1d18820127b36a6496571eb36c9f /test
parent6202ef9c4016d08cecf75fd8217c9b53d18ed201 (diff)
downloadgenenetwork2-773c758efb1a48f97f85ac1e43e91355f67bde72.tar.gz
wqflask: user_manager: Delete usermanager.py and it's references
This module is not used anywhere.
Diffstat (limited to 'test')
-rw-r--r--test/requests/test_forgot_password.py4
-rw-r--r--test/requests/test_login_local.py3
2 files changed, 1 insertions, 6 deletions
diff --git a/test/requests/test_forgot_password.py b/test/requests/test_forgot_password.py
index 2bf34c5c..346524bc 100644
--- a/test/requests/test_forgot_password.py
+++ b/test/requests/test_forgot_password.py
@@ -1,5 +1,4 @@
import requests
-from wqflask import user_manager
from utility.elasticsearch_tools import get_user_by_unique_column
from parameterized import parameterized
from parametrized_test import ParametrizedTest
@@ -27,8 +26,7 @@ class TestForgotPassword(ParametrizedTest):
"password": "test_password",
"password_confirm": "test_password"
}
- user_manager.basic_info = lambda : { "basic_info": "basic" }
- user_manager.RegisterUser(data)
+
def testWithoutEmail(self):
data = {"email_address": ""}
diff --git a/test/requests/test_login_local.py b/test/requests/test_login_local.py
index 808649ca..6691d135 100644
--- a/test/requests/test_login_local.py
+++ b/test/requests/test_login_local.py
@@ -1,5 +1,4 @@
import requests
-from wqflask import user_manager
from parameterized import parameterized
from parametrized_test import ParametrizedTest
@@ -19,8 +18,6 @@ class TestLoginLocal(ParametrizedTest):
"password": "test_password",
"password_confirm": "test_password"
}
- user_manager.basic_info = lambda : { "basic_info": "basic" }
- user_manager.RegisterUser(data)
@parameterized.expand([