def test_regex6(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN/1234/2011 und Vorlage 1234/2011 blah'),
         ['AN/1234/2011', '1234/2011'])
 def test_regex4(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN 1234/2011 blah'),
         ['AN 1234/2011'])
 def test_regex5(self):
     self.assertEqual(
         gr.get_references_in_text('Antrag AN/1234/2011 und Vorlage 4545/1234 blah'),
         ['AN/1234/2011', '4545/1234'])
 def test_regex3(self):
     self.assertEqual(
         gr.get_references_in_text('Vorlage 1234/2011/01 blah'),
         ['1234/2011/01'])
Ejemplo n.º 5
0
 def test_regex6(self):
     self.assertEqual(
         gr.get_references_in_text(
             'Antrag AN/1234/2011 und Vorlage 1234/2011 blah'),
         ['AN/1234/2011', '1234/2011'])
Ejemplo n.º 6
0
 def test_regex5(self):
     self.assertEqual(
         gr.get_references_in_text(
             'Antrag AN/1234/2011 und Vorlage 4545/1234 blah'),
         ['AN/1234/2011', '4545/1234'])
Ejemplo n.º 7
0
 def test_regex4(self):
     self.assertEqual(gr.get_references_in_text('Antrag AN 1234/2011 blah'),
                      ['AN 1234/2011'])
Ejemplo n.º 8
0
 def test_regex3(self):
     self.assertEqual(
         gr.get_references_in_text('Vorlage 1234/2011/01 blah'),
         ['1234/2011/01'])