[Reportbug-commits] [reportbug] 17/32: fix test_urlutils

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 1 01:36:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit b02f4073d78ea05977a37281ad1a47439893b3d9
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Nov 27 19:21:11 2016 -0500

    fix test_urlutils
---
 test/test_urlutils.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/test_urlutils.py b/test/test_urlutils.py
index 5901ea3..cea8553 100644
--- a/test/test_urlutils.py
+++ b/test/test_urlutils.py
@@ -11,5 +11,4 @@ class TestNetwork(unittest.TestCase):
     def test_open_url(self):
 
         page = urlutils.open_url('https://bugs.debian.org/reportbug')
-        content = page.read()
-        self.assertIsNotNone(page.info().keys())
+        self.assertIsNotNone(page)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list