Beispiel #1
0
 def test_two_lines(self):
     line = STEPS_RE.sub(r"\1.\2", "1: foo\n2: bar\n")
     self.assertEqual(line, "1. foo\n2. bar\n")
Beispiel #2
0
 def test_two_lines(self):
     line = STEPS_RE.sub(r"\1.\2", "1: foo\n2: bar\n")
     self.assertEqual(line, "1. foo\n2. bar\n")
Beispiel #3
0
 def test_one_line(self):
     line = STEPS_RE.sub(r"\1.\2", "1: foo\n")
     self.assertEqual(line, "1. foo\n")
Beispiel #4
0
 def test_one_line(self):
     line = STEPS_RE.sub(r"\1.\2", "1: foo\n")
     self.assertEqual(line, "1. foo\n")