def test_whenCommentAddedStoryIsAvailableToUpdate(self):
     story = Story()
     story.story_id = 1234
     item = PivotalTrackerItem(story)
     comment = "blah"
     item.addComment(comment)
     storyToBeUpdated = item.decoratedStory()
     self.assertEqual(story.story_id, storyToBeUpdated.GetStoryId())
Exemplo n.º 2
0
 def test_whenCommentAddedStoryIsAvailableToUpdate(self):
     story = Story()
     story.story_id = 1234
     item = PivotalTrackerItem(story)
     comment = "blah"
     item.addComment(comment)
     storyToBeUpdated = item.decoratedStory()
     self.assertEqual(story.story_id, storyToBeUpdated.GetStoryId())