Beispiel #1
0
 def test_add_issue_status(self, mock_new_issue_status):
     rm = RequestMaker('/api/v1', 'fakehost', 'faketoken')
     project = Project(rm, id=1)
     project.add_issue_status('Issue 1')
     mock_new_issue_status.assert_called_with(1, 'Issue 1')
Beispiel #2
0
 def test_add_issue_status(self, mock_new_issue_status):
     rm = RequestMaker("/api/v1", "fakehost", "faketoken")
     project = Project(rm, id=1)
     project.add_issue_status("Issue 1")
     mock_new_issue_status.assert_called_with(1, "Issue 1")
Beispiel #3
0
 def test_add_issue_status(self, mock_new_issue_status):
     rm = RequestMaker('/api/v1', 'fakehost', 'faketoken')
     project = Project(rm, id=1)
     project.add_issue_status('Issue 1')
     mock_new_issue_status.assert_called_with(1, 'Issue 1')
Beispiel #4
0
 def test_add_issue_status(self, mock_new_issue_status):
     rm = RequestMaker("/api/v1", "fakehost", "faketoken")
     project = Project(rm, id=1)
     project.add_issue_status("Issue 1")
     mock_new_issue_status.assert_called_with(1, "Issue 1")