diff options
author | zsloan | 2021-05-06 19:55:05 +0000 |
---|---|---|
committer | zsloan | 2021-05-06 19:55:05 +0000 |
commit | dec97460ec9bc7cf2129b29ddb1644d643773bc5 (patch) | |
tree | 8d50eba9776cb8456cb932361430f2d7c7a1fdf2 /test | |
parent | 70735035fe7b59bae13fe955e4f32595055b3940 (diff) | |
parent | 5c4da47e6f4c7c61666b80dc5133aa584db38e5d (diff) | |
download | genenetwork2-dec97460ec9bc7cf2129b29ddb1644d643773bc5.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
Diffstat (limited to 'test')
-rw-r--r-- | test/requests/test_forgot_password.py | 4 | ||||
-rw-r--r-- | test/requests/test_login_local.py | 3 |
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([ |