def test_opens_issues_from_multi_issues_file(self, with_multi_issues_file, api_mock, parsed_args_multi_issues_file):
    'Test that the callback opens issues correctly when they are all\n        contained in a multi issues file.\n        '
    (issues_file, repos_and_issues) = with_multi_issues_file
    expected_calls = [mock.call(issue.title, issue.body, mock.ANY) for (repo_name, issue) in repos_and_issues]
    feedback.callback(args=parsed_args_multi_issues_file, api=api_mock)
    api_mock.create_issue.assert_has_calls(expected_calls)
Test that the callback opens issues correctly when they are all
contained in a multi issues file.
def test_opens_issues_from_multi_issues_file(self, with_multi_issues_file, api_mock, parsed_args_multi_issues_file):
    'Test that the callback opens issues correctly when they are all\n        contained in a multi issues file.\n        '
    (issues_file, repos_and_issues) = with_multi_issues_file
    expected_calls = [mock.call(issue.title, issue.body, mock.ANY) for (repo_name, issue) in repos_and_issues]
    feedback.callback(args=parsed_args_multi_issues_file, api=api_mock)
    api_mock.create_issue.assert_has_calls(expected_calls)