'L{CharacterAttribute}s must have matching character attribute values
(bold, blink, underline, etc) with the same values to be considered
equal.'

def test_equality(self):

    self.assertEqual(helper.CharacterAttribute(), helper.CharacterAttribute())
    self.assertEqual(helper.CharacterAttribute(), helper.CharacterAttribute(charset=G0))
    self.assertEqual(helper.CharacterAttribute(bold=True, underline=True, blink=False, reverseVideo=True, foreground=helper.BLUE), helper.CharacterAttribute(bold=True, underline=True, blink=False, reverseVideo=True, foreground=helper.BLUE))
    self.assertNotEqual(helper.CharacterAttribute(), helper.CharacterAttribute(charset=G1))
    self.assertNotEqual(helper.CharacterAttribute(bold=True), helper.CharacterAttribute(bold=False))
