diff options
author | BonfaceKilz | 2020-07-16 17:32:13 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-07-16 17:32:13 +0300 |
commit | 82929468a0769766cc874b18dbbf5acaa15bc6fc (patch) | |
tree | d15d1d381c6352e227c88f050c1f0a78d21a21cf /test/unittest/test_registration.py | |
parent | cc7d0573f1144a3cbbef1feb5c2645ac7ae7bf2c (diff) | |
download | genenetwork2-82929468a0769766cc874b18dbbf5acaa15bc6fc.tar.gz |
Remove unused test
Diffstat (limited to 'test/unittest/test_registration.py')
-rw-r--r-- | test/unittest/test_registration.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/unittest/test_registration.py b/test/unittest/test_registration.py deleted file mode 100644 index 98d0cdff..00000000 --- a/test/unittest/test_registration.py +++ /dev/null @@ -1,27 +0,0 @@ -# Run test with something like -# -# env GN2_PROFILE=~/opt/gn-latest GENENETWORK_FILES=$HOME/gn2_data ./bin/genenetwork2 ./etc/default_settings.py -c ../test/unittest/test_registration.py -# - -import unittest -import mock.es_double as es -from wqflask.user_manager import RegisterUser - -class TestRegisterUser(unittest.TestCase): - def setUp(self): - self.es = es.ESDouble() - - def testRegisterUserWithCorrectData(self): - data = { - "email_address": "user@example.com" - , "full_name": "A.N. Other" - , "organization": "Some Organisation" - , "password": "testing" - , "password_confirm": "testing" - , "es_connection": self.es - } - result = RegisterUser(data) - self.assertEqual(len(result.errors), 0, "Errors were not expected") - -if __name__ == "__main__": - unittest.main() |