summaryrefslogtreecommitdiffstats
path: root/tests/helper/PluginTester.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-16 18:02:26 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-16 18:02:26 +0100
commitaabf168c0ccee7d6d7eacfbadecdca3cfc3956d3 (patch)
tree4b4e6362a81fa17c6f1465c048726dfcabbb5e49 /tests/helper/PluginTester.py
parentreverted sloccount (diff)
downloadpyload-aabf168c0ccee7d6d7eacfbadecdca3cfc3956d3.tar.xz
little fixes
Diffstat (limited to 'tests/helper/PluginTester.py')
-rw-r--r--tests/helper/PluginTester.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/helper/PluginTester.py b/tests/helper/PluginTester.py
index b70c0d061..ef61385be 100644
--- a/tests/helper/PluginTester.py
+++ b/tests/helper/PluginTester.py
@@ -111,14 +111,14 @@ def respond(ticket, value):
def invalidCaptcha(self):
log(DEBUG, "Captcha invalid")
if self.cTask:
- respond(self.ticket, 0)
+ respond(self.cTask, 0)
Hoster.invalidCaptcha = invalidCaptcha
def correctCaptcha(self):
log(DEBUG, "Captcha correct")
if self.cTask:
- respond(self.ticket, 1)
+ respond(self.cTask, 1)
Hoster.correctCaptcha = correctCaptcha
@@ -148,4 +148,4 @@ class PluginTester(TestCase):
exc = exc_info()
if exc != (None, None, None):
debug = self.thread.writeDebugReport()
- log(DEBUG, debug) \ No newline at end of file
+ log(DEBUG, debug)