def test_import_issue(self, mock_import_issue): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') project = Project(rm, id=1) project.import_issue('Issue 1', 1, 2, 3, 4) mock_import_issue.assert_called_with(1, 'Issue 1', 1, 2, 3, 4)
def test_import_issue(self, mock_import_issue): rm = RequestMaker("/api/v1", "fakehost", "faketoken") project = Project(rm, id=1) project.import_issue("Issue 1", 1, 2, 3, 4) mock_import_issue.assert_called_with(1, "Issue 1", 1, 2, 3, 4)
def test_import_issue(self, mock_import_issue): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') project = Project(rm, id=1) project.import_issue('Issue 1', 1, 2, 3, 4) mock_import_issue.assert_called_with(1, 'Issue 1', 1, 2, 3, 4)
def test_import_issue(self, mock_import_issue): rm = RequestMaker("/api/v1", "fakehost", "faketoken") project = Project(rm, id=1) project.import_issue("Issue 1", 1, 2, 3, 4) mock_import_issue.assert_called_with(1, "Issue 1", 1, 2, 3, 4)