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
473 B

import unittest
from reportbug import checkbuildd
from nose.plugins.attrib import attr
class TestCheckbuildd(unittest.TestCase):
@attr('network') # marking the test as using network
def test_check_built(self):
built = checkbuildd.check_built('gkrellm', 60)
self.assertTrue(built)
# check for a non-existing package, that triggers a failure
built = checkbuildd.check_built('non-existing-pkg', 60)
self.assertFalse(built)