summaryrefslogtreecommitdiffstats
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-12 17:26:28 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-12 17:26:28 +0100
commit692d015627ecf03fbc23cfdb4afcf398b9a09a51 (patch)
tree3a3b65808c37aecd4d270b3d40850ae52f33a355 /tests/test_api.py
parentchanged HEAD request (diff)
downloadpyload-692d015627ecf03fbc23cfdb4afcf398b9a09a51.tar.xz
scripts for testing and syntax unit test
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index f8901f731..76b3e1b40 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -7,14 +7,12 @@ from nose.tools import nottest
class TestApi:
def __init__(self):
- self.api = APIExerciser.APIExerciser(None, True, "TestUser", "pwhere")
+ self.api = APIExerciser.APIExerciser(None, True, "TestUser", "sometestpw")
def test_login(self):
assert self.api.api.login("crapp", "wrong pw") is False
- #takes really long, only test when needed
- @nottest
+ #@nottest
def test_random(self):
-
- for i in range(0, 100):
+ for i in range(0, 1000):
self.api.testAPI()