aboutsummaryrefslogtreecommitdiff
path: root/test/requests
diff options
context:
space:
mode:
Diffstat (limited to 'test/requests')
-rw-r--r--test/requests/test_login_local.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/requests/test_login_local.py b/test/requests/test_login_local.py
index 8e2dec4e..808649ca 100644
--- a/test/requests/test_login_local.py
+++ b/test/requests/test_login_local.py
@@ -58,19 +58,3 @@ class TestLoginLocal(ParametrizedTest):
result = requests.post(self.login_url, data=data)
index = result.content.find(expected)
self.assertTrue(index >= 0, message)
-
-
-def main(gn2, es):
- import unittest
- suite = unittest.TestSuite()
- suite.addTest(TestLoginLocal(methodName="testLoginNonRegisteredUser", gn2_url=gn2, es_url=es))
- suite.addTest(TestLoginLocal(methodName="testLoginWithRegisteredUserBothRememberMeAndImportCollectionsFalse", gn2_url=gn2, es_url=es))
- runner = unittest.TextTestRunner()
- runner.run(suite)
-
-if __name__ == "__main__":
- import sys
- if len(sys.argv) < 3:
- raise Exception("Required arguments missing")
- else:
- main(sys.argv[1], sys.argv[2])