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 2315869 commit e10c194
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_multinosetests.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ def test_merge_calls(self,
mock_unlink.assert_called_once_with(nose.xunit_file)
mock_merge_xunit.assert_called_once_with([nose.xunit_file],
'nosetests.xml')
mock_get_tests_xml_report.assert_has_call(nose.xunit_file)
mock_get_tests_xml_report.assert_has_call('nosetests.xml')
mock_get_tests_xml_report.assert_has_calls([
nose.xunit_file,
'nosetests.xml'
])
mock_status_print_report.assert_has_call(
'Test suite report',
mock_get_tests_xml_report.return_value,
Expand Down

0 comments on commit e10c194

Please sign in to comment.