def test_add_user_story_attribute(self, mock_new_us_attr): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') project = Project(rm, id=1) project.add_user_story_attribute('New Attribute') mock_new_us_attr.assert_called_with(1, 'New Attribute')
def test_add_user_story_attribute(self, mock_new_us_attr): rm = RequestMaker("/api/v1", "fakehost", "faketoken") project = Project(rm, id=1) project.add_user_story_attribute("New Attribute") mock_new_us_attr.assert_called_with(1, "New Attribute")