From 90104f7019f814c3f0eb838c11ef711b2feb5649 Mon Sep 17 00:00:00 2001 From: Phyks Date: Mon, 30 Jun 2014 15:22:15 +0200 Subject: [PATCH] Forgot to update test_fetcher --- tests/test_fetcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_fetcher.py b/tests/test_fetcher.py index 39d543e..38322d7 100644 --- a/tests/test_fetcher.py +++ b/tests/test_fetcher.py @@ -28,10 +28,10 @@ class TestFetcher(unittest.TestCase): self.assertNotEqual(dl, '') def test_download_invalid_type(self): - self.assertFalse(download('http://phyks.me/')) + self.assertFalse(download('http://phyks.me/')[0]) def test_download_invalid_url(self): - self.assertFalse(download('a')) + self.assertFalse(download('a')[0]) def test_findISBN_DJVU(self): # ISBN is incomplete in this test because my djvu file is bad