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.

test_urlutils.py 317 B

1234567891011121314
  1. import unittest
  2. from nose.plugins.attrib import attr
  3. from reportbug import urlutils
  4. class TestNetwork(unittest.TestCase):
  5. @attr('network') # mark the test as using network
  6. def test_open_url(self):
  7. page = urlutils.open_url('https://bugs.debian.org/reportbug')
  8. self.assertIsNotNone(page)