test_conf.py
changeset 7 0f9cae2d7147
parent 6 57e8168ba8c4
child 8 46d36bc33086
equal deleted inserted replaced
6:57e8168ba8c4 7:0f9cae2d7147
     1 """
       
     2     Test conf.py
       
     3 """
       
     4 
       
     5 import unittest
       
     6 
       
     7 class _TestConfBase (unittest.TestCase) :
       
     8     def assert_obj (self, obj, lines) :
       
     9         """
       
    10             Formats the given conf.Object and compares the output against the given lines
       
    11         """
       
    12         
       
    13         for obj_line, line in zip(obj.fmt_lines(), lines) :
       
    14             self.assertEqual(obj_line, line)
       
    15 
       
    16