def test_get_status_choice_status_display_not_equal_choice(self): self.assertEqual(None, Message.get_status_choice('test'))
def test_get_status_choice_status_display_equal_choice(self): self.assertEqual( Message.ACCEPTED, Message.get_status_choice('accepted') )
def test_get_status_choice_status_display_equal_choice(self): self.assertEqual(Message.ACCEPTED, Message.get_status_choice('accepted'))