def test_commentNotEqaulsOther(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     otherText = "other"
     other = TrackerItemComment(otherText)
     self.assertNotEqual(comment, other)
 def test_commentEqualsSelf(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     self.assertEqual(comment, comment)
 def test_canCheckInequality(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     remoteComment = RemoteComment()
     another = JiraComment(remoteComment)
     self.assertNotEqual(comment, another)
 def test_canCheckEquality(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     another = JiraComment(comment)
     self.assertEqual(comment, another)
 def test_canGetJiraDictionay(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     jiraComment = JiraComment(comment)
     self.assertDictEqual(jiraComment.forJira(), {'body': setText})
 def test_canGetTextForTrackerItemComment(self):
     setText = "blah"
     comment = TrackerItemComment(setText)
     self.assertEqual(comment.text(), setText)