Skip to content

Commit

Permalink
fixing removed assert_has_call from py36
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroslav Shubernetskiy committed Jul 28, 2017
1 parent a9b59c8 commit 32fa46a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions tests/test_multinosetests.py
Expand Up @@ -179,15 +179,13 @@ def test_merge_calls(self,
mock.call(nose.xunit_file),
mock.call('nosetests.xml'),
])
mock_status_print_report.assert_has_call(
'Test suite report',
mock_get_tests_xml_report.return_value,
nose
)
mock_status_print_report.assert_has_call(
'Overall test suite report',
mock_get_tests_xml_report.return_value,
)
mock_status_print_report.assert_has_calls([
mock.call('Test suite report',
mock_get_tests_xml_report.return_value,
nose),
mock.call('Overall test suite report',
mock_get_tests_xml_report.return_value,)
])


class TestUtils(unittest.TestCase):
Expand Down

0 comments on commit 32fa46a

Please sign in to comment.