diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 17:20:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 17:20:59 +0200 |
commit | e00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch) | |
tree | 31be0c7cdcebb61525bcc387bcf15d265a1c494a /tests/test_api.py | |
parent | Fix except (diff) | |
download | pyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz |
Cleanup
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 08c775aaf..6ef3e6ccd 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -7,14 +7,18 @@ from nose.tools import nottest class TestApi(object): + def __init__(self): self.api = APIExerciser.APIExerciser(None, True, "TestUser", "pwhere") + def test_login(self): assert self.api.api.login("crapp", "wrong pw") is False # takes really long, only test when needed @nottest + + def test_random(self): for _ in range(0, 100): self.api.testAPI() |