def test_add_comment(self, mock_update): rm = RequestMaker('/api/v1', 'fakehost', 'faketoken') user_story = UserStory(rm, id=1) user_story.add_comment('hola') mock_update.assert_called_with( comment='hola' )
def test_add_comment(self, mock_update): rm = RequestMaker("/api/v1", "fakehost", "faketoken") user_story = UserStory(rm, id=1) user_story.add_comment("hola") mock_update.assert_called_with(comment="hola")