test_conf.py
changeset 4 8b633782f02d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test_conf.py	Thu Apr 02 22:52:26 2009 +0300
@@ -0,0 +1,16 @@
+"""
+    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)
+
+