From 4bb5227aec55af4854b3a3bf37e6fcc728e53335 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 24 Aug 2016 16:37:55 +0200 Subject: [PATCH] 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? --- tests/test_scheduler/test_repo_done.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scheduler/test_repo_done.py b/tests/test_scheduler/test_repo_done.py index 9d0a7d61..4940a251 100644 --- a/tests/test_scheduler/test_repo_done.py +++ b/tests/test_scheduler/test_repo_done.py @@ -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"