def test_accessor_getattr_for_member_entity(self):
		from grease import Entity
		comp = TestComponent()
		world = TestWorld(test=comp)
		entity = Entity(world)
		comp.set(entity)
		self.assertTrue(comp in entity)
		self.assertEqual(entity.test.attr, 'deadbeef')
dataset/ETHPy150Open caseman/grease/test/entity_test.py/EntityTestCase.test_accessor_getattr_for_member_entity/swapped operands of `in`