예제 #1
0
 def test_filing_no_number(self):
     self.assertEquals(
         filing_no_number('Client1-Leitung-2012-1'), 1)
     self.assertEquals(
         filing_no_number('Leitung'), None)
     self.assertEquals(
         filing_no_number('Client1-Direktion-2011-555'), 555)
     self.assertEquals(
         filing_no_number(None), None)
예제 #2
0
 def test_filing_no_number(self):
     self.assertEquals(
         filing_no_number('OG-Leitung-2012-1'), 1)
     self.assertEquals(
         filing_no_number('Leitung'), None)
     self.assertEquals(
         filing_no_number('OG-Direktion-2011-555'), 555)
     self.assertEquals(
         filing_no_number(None), None)