コード例 #1
0
 def test_should_not_convert_type_label_when_none(self):
     self.assertIsNone(ContactService.convert_contact_types(None))
コード例 #2
0
ファイル: test_contact_service.py プロジェクト: z0x010/eums
 def test_should_not_convert_type_label_when_none(self):
     self.assertIsNone(ContactService.convert_contact_types(None))
コード例 #3
0
 def test_should_partly_convert_type_label(self):
     pre_types = ['IMPLEMENTING_PARTNER', 'MIDDLE', 'END_USER']
     self.assertEquals(['IP', 'End-user'], ContactService.convert_contact_types(pre_types))
コード例 #4
0
ファイル: test_contact_service.py プロジェクト: z0x010/eums
 def test_should_partly_convert_type_label(self):
     pre_types = ['IMPLEMENTING_PARTNER', 'MIDDLE', 'END_USER']
     self.assertEquals(['IP', 'End-user'],
                       ContactService.convert_contact_types(pre_types))