def test_equality(self): self.assertIsEqual(Attribute.from_string(self.STRING))
def test_with_value(self): ann = Attribute.from_string('ID\tname target modifier') self.assertEqual('modifier', ann.modifier)