def test_get_status_choice_status_display_not_equal_choice(self):
     self.assertEqual(None, Message.get_status_choice('test'))
Example #2
0
 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')
     )
Example #4
0
 def test_get_status_choice_status_display_equal_choice(self):
     self.assertEqual(Message.ACCEPTED,
                      Message.get_status_choice('accepted'))