diff options
author | Muriithi Frederick Muriuki | 2018-02-23 17:24:55 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2018-02-23 17:24:55 +0300 |
commit | a88f9c25e1b6eaaeede23d9217b1998f28fa7bbf (patch) | |
tree | c828700b90cb9ef1a92ae9f3cb24acf6e478ba5c /test | |
parent | a8e328a105dac1d137c3d08653c9164d489332b3 (diff) | |
download | genenetwork2-a88f9c25e1b6eaaeede23d9217b1998f28fa7bbf.tar.gz |
Remove failing code
* With the parameterized module, the testcase cannot be run
independently at this time.
Diffstat (limited to 'test')
-rw-r--r-- | test/requests/test_login_local.py | 16 |
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]) |