Exemple #1
0
 def test_strip_zeros_pass_6(self):
     string = '0-060H-0Z'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual('0-60H-0Z', result)
Exemple #2
0
 def test_strip_zeros_pass_5(self):
     string = 'A-060H-017'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual('A-60H-17', result)
Exemple #3
0
 def test_strip_zeros_pass_4(self):
     string = '005I-009-059'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual('5I-9-59', result)
Exemple #4
0
 def test_strip_zeros_pass_3(self):
     string = 'A-001-102/004'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual('A-1-102/4', result)
Exemple #5
0
 def test_strip_zeros_pass_2(self):
     string = 'London T001'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual('London T1', result)
Exemple #6
0
 def test_strip_zeros_pass_7(self):
     string = ' 0 A/0- X-T0/1 -Z0'
     result = MatchBlock.strip_zeros(string)
     self.assertEqual(' 0 A/0- X-T0/1 -Z0', result)