You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
361 B

import unittest
from nose.plugins.attrib import attr
from reportbug import urlutils
class TestNetwork(unittest.TestCase):
@attr('network') # mark the test as using network
def test_open_url(self):
page = urlutils.open_url('https://bugs.debian.org/reportbug')
content = page.read()
self.assertIsNotNone(page.info().keys())