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)
Пример #5
0
 def test__cant_tolerate_only_comment_3(self):
     line = '#comment'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Пример #6
0
 def test__can_tolerate_comment_3(self):
     line = ' valami  #      comment'
     expected = 'valami'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Пример #7
0
 def test__parse_indented_line_4(self):
     line = 'valami'
     expected = None
     result = parse.indented_line(line)
     self.assertEqual(expected, result)
Пример #8
0
 def test__parse_indented_line_3(self):
     line = ' valami valamik    '
     expected = 'valami valamik'
     result = parse.indented_line(line)
     self.assertEqual(expected, result)