'L{dns._compactRepr} displays flags if they have a non-default value.'

def test_flagsIfSet(self):

    m = self.messageFactory(flagTrue=True, flagFalse=True)
    self.assertEqual("<Foo    alwaysShowField='AS'    flags=flagTrue,flagFalse>", repr(m))
