diff --git a/test/test_webutils.py b/test/test_webutils.py index 0ade604a5..33d16181a 100644 --- a/test/test_webutils.py +++ b/test/test_webutils.py @@ -39,9 +39,10 @@ class WebutilsTestCase(SupyTestCase): self.assertEqual(webutils.getDomain('http://slashdot.org/foo/bar.exe'), 'slashdot.org') - def testGetUrlWithSize(self): - url = 'http://slashdot.org/' - self.failUnless(len(webutils.getUrl(url, 1024)) == 1024) + if network: + def testGetUrlWithSize(self): + url = 'http://slashdot.org/' + self.failUnless(len(webutils.getUrl(url, 1024)) == 1024) # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: