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