def test_get_direction_choice_direction_display_not_equal_choice(self):
     self.assertEqual(None, Message.get_direction_choice('test'))
示例#2
0
 def test_get_direction_choice_direction_display_not_equal_choice(self):
     self.assertEqual(None, Message.get_direction_choice('test'))
 def test_get_direction_choice_direction_display_equal_choice(self):
     self.assertEqual(
         Message.INBOUND, Message.get_direction_choice('inbound')
     )
示例#4
0
 def test_get_direction_choice_direction_display_equal_choice(self):
     self.assertEqual(Message.INBOUND,
                      Message.get_direction_choice('inbound'))