Module: deluge
Branch: master
Commit: d6b79173502b1a080806ba146bf5f004f6081715

Author: John Garland <[email protected]>
Date:   Tue Apr 27 03:01:54 2010 +1000

Fix test_add_torrent_url_with_cookies

---

 tests/test_core.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test_core.py b/tests/test_core.py
index 41fca5e..7bedef4 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -58,7 +58,7 @@ class CoreTestCase(unittest.TestCase):
         info_hash = "60d5d82328b4547511fdeac9bf4d0112daa0ce00"
 
         d = self.core.add_torrent_url(url, options)
-        d.addCallbacks(self.fail, self.assertIsInstance, Failure)
+        d.addCallbacks(self.fail, self.assertIsInstance, 
errbackArgs=(Failure,))
 
         d = self.core.add_torrent_url(url, options, headers)
         d.addCallback(self.assertEquals, info_hash)

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to