mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
This should be guarded by the network condition.
This commit is contained in:
parent
ee5afd1074
commit
4354a79f9f
@ -39,6 +39,7 @@ class WebutilsTestCase(SupyTestCase):
|
|||||||
self.assertEqual(webutils.getDomain('http://slashdot.org/foo/bar.exe'),
|
self.assertEqual(webutils.getDomain('http://slashdot.org/foo/bar.exe'),
|
||||||
'slashdot.org')
|
'slashdot.org')
|
||||||
|
|
||||||
|
if network:
|
||||||
def testGetUrlWithSize(self):
|
def testGetUrlWithSize(self):
|
||||||
url = 'http://slashdot.org/'
|
url = 'http://slashdot.org/'
|
||||||
self.failUnless(len(webutils.getUrl(url, 1024)) == 1024)
|
self.failUnless(len(webutils.getUrl(url, 1024)) == 1024)
|
||||||
|
Loading…
Reference in New Issue
Block a user