Browse Source

add 'network' attribute (so it can be skipped in quicktest)

tags/6.0
Sandro Tosi 10 years ago
parent
commit
63d28e9fa2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/test_urlutils.py

+ 3
- 0
test/test_urlutils.py View File

@@ -1,9 +1,12 @@
import unittest2

from nose.plugins.attrib import attr

from reportbug import urlutils

class TestNetwork(unittest2.TestCase):

@attr('network') #mark the test as using network
def test_open_url(self):

page = urlutils.open_url('http://bugs.debian.org/reportbug')


Loading…
Cancel
Save