def test_add_priority(self, mock_new_priority): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') project = Project(rm, id=1) project.add_priority('Priority 1') mock_new_priority.assert_called_with(1, 'Priority 1')
def test_add_priority(self, mock_new_priority): rm = RequestMaker("/api/v1", "fakehost", "faketoken") project = Project(rm, id=1) project.add_priority("Priority 1") mock_new_priority.assert_called_with(1, "Priority 1")