def test_has_2(self): d = Definition({}) self.assertEqual(d.has('name'), False)
def test_has_1(self): d = Definition({'name': 'test'}) self.assertEqual(d.has('name'), True)