def test_add_userstory(self, mock_new_userstory): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') project = Project(rm, id=1) project.add_user_story('US 1') mock_new_userstory.assert_called_with(1, 'US 1')
def test_add_userstory(self, mock_new_userstory): rm = RequestMaker("/api/v1", "fakehost", "faketoken") project = Project(rm, id=1) project.add_user_story("US 1") mock_new_userstory.assert_called_with(1, "US 1")