'L{dns._compactRepr} displays sections which differ from their defaults.'

def test_nonDefaultSections(self):

    m = self.messageFactory()
    m.section1 = [1, 1, 1]
    m.section2 = [2, 2, 2]
    self.assertEqual("<Foo    alwaysShowField='AS'    flags=flagTrue    section1=[1,    1,    1]    section2=[2,    2,    2]>", repr(m))
