def test__cant_tolerate_only_comment_3(self):
     line = '#comment'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
 def test__parse_indented_line_4(self):
     line = 'valami'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
 def test__can_tolerate_comment_3(self):
     line = ' valami  #      comment'
     expected = 'valami'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
 def test__parse_indented_line_3(self):
     line = ' valami valamik    '
     expected = 'valami valamik'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Ejemplo n.º 5
0
 def test__cant_tolerate_only_comment_3(self):
     line = '#comment'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Ejemplo n.º 6
0
 def test__can_tolerate_comment_3(self):
     line = ' valami  #      comment'
     expected = 'valami'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Ejemplo n.º 7
0
 def test__parse_indented_line_4(self):
     line = 'valami'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Ejemplo n.º 8
0
 def test__parse_indented_line_3(self):
     line = ' valami valamik    '
     expected = 'valami valamik'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)