add 'connect' parameter which was missing

Not sure if that needs to be there, it's not used at all in the method.
Side-effects?
This commit is contained in:
Nils Philippsen
2016-08-24 16:37:55 +02:00
parent 343ad70c5a
commit 4bb5227aec

View File

@@ -54,7 +54,7 @@ class TestRepoDone(unittest.TestCase):
@mock.patch('rida.builder.KojiModuleBuilder.build')
@mock.patch('rida.builder.KojiModuleBuilder.buildroot_connect')
@mock.patch('rida.models.ModuleBuild.from_repo_done_event')
def test_a_single_match(self, from_repo_done_event, build_fn, config, ready):
def test_a_single_match(self, from_repo_done_event, connect, build_fn, config, ready):
""" Test that when a repo msg hits us and we have a single match.
"""
config.return_value = mock.Mock(), "development"