From a9b59c8eef4665a8bd46fb1fbc554a29a8f7e947 Mon Sep 17 00:00:00 2001 From: Miroslav Shubernetskiy Date: Fri, 28 Jul 2017 11:24:47 -0400 Subject: [PATCH] fixing assert_has_calls calls --- tests/test_multinosetests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_multinosetests.py b/tests/test_multinosetests.py index 549b507..c80dcbc 100644 --- a/tests/test_multinosetests.py +++ b/tests/test_multinosetests.py @@ -176,8 +176,8 @@ def test_merge_calls(self, mock_merge_xunit.assert_called_once_with([nose.xunit_file], 'nosetests.xml') mock_get_tests_xml_report.assert_has_calls([ - nose.xunit_file, - 'nosetests.xml' + mock.call(nose.xunit_file), + mock.call('nosetests.xml'), ]) mock_status_print_report.assert_has_call( 'Test suite report',