changeset 7 | 0f9cae2d7147 |
parent 4 | 8b633782f02d |
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 |