test/conf.py
author Tero Marttila <terom@fixme.fi>
Fri, 11 Sep 2009 13:02:37 +0300
changeset 10 65d91f6a2d2a
parent 7 0f9cae2d7147
permissions -rw-r--r--
distutils
"""
    Test conf.py
"""

import unittest

class _TestConfBase (unittest.TestCase) :
    def assert_obj (self, obj, lines) :
        """
            Formats the given conf.Object and compares the output against the given lines
        """
        
        for obj_line, line in zip(obj.fmt_lines(), lines) :
            self.assertEqual(obj_line, line)