Exemple #1
0
 def test_extract_str_custom_pass_4(self):
     original_string = 'France 1'
     string = 'France 1'
     custom = ''
     result = MatchBlock.extract_str_custom(original_string)
     self.assertEqual((string, custom), result)
Exemple #2
0
 def test_extract_str_custom_pass_6(self):
     original_string = 'West Sud'
     string = ''
     custom = 'south west'
     result = MatchBlock.extract_str_custom(original_string)
     self.assertEqual((string, custom), result)
Exemple #3
0
 def test_extract_str_custom_pass_3(self):
     original_string = 'France Sud 1 Centre'
     string = 'France 1'
     custom = 'center south'
     result = MatchBlock.extract_str_custom(original_string)
     self.assertEqual((string, custom), result)