def test_accessor_getattr_for_nonexistant_component(self):
		from grease import Entity
		comp = TestComponent()
		world = TestWorld(test=comp)
		entity = Entity(world)
		self.assertTrue(comp not in entity)
		self.assertRaises(AttributeError, getattr, entity, 'foo')
dataset/ETHPy150Open caseman/grease/test/entity_test.py/EntityTestCase.test_accessor_getattr_for_nonexistant_component/swapped operands of `not in`