def testAppendAppends(self): f = policy_simple.Field('Testvalue') f.Append('TESTVALUE') self.assertEqual(f.value, 'TestvalueTESTVALUE')
def testStrIndents(self): f = policy_simple.Field('Testvalue\nTestValue') self.assertEqual('UNKNOWN::Testvalue\n TestValue', str(f))