def test_add_with_data_object_and_kw(self):
		from grease.component import Component
		c = Component(state=str, time=float)
		c.set_world(world)
		class Data: pass
		d = Data()
		d.state = "grimey"
		d.time = 12.5
		entity = TestEntity()
		ed = c.set(entity, d, state="greasy")
		self.assertTrue(c in entity)
		self.assertEqual(ed.state, "greasy")
		self.assertEqual(ed.time, 12.5)
dataset/ETHPy150Open caseman/grease/test/component_test.py/GeneralTestCase.test_add_with_data_object_and_kw/swapped operands of `in`