Get the test suite working again.

This commit is contained in:
Ralph Bean 2016-07-13 10:28:46 -04:00 committed by Mike McLean
parent 16fdb3b14e
commit 3a1972e8da
4 changed files with 13 additions and 4 deletions

View file

@ -8,6 +8,7 @@ class TestRunrootHub(unittest.TestCase):
@mock.patch('kojihub.make_task')
@mock.patch('runroot_hub.context')
def test_basic_invocation(self, context, make_task):
context.session.assertPerm = mock.MagicMock()
runroot_hub.runroot(
tagInfo='some_tag',
arch='x86_64',