

def test_unindexed_properties_no_composite_indexes(self):
    entity = datastore.Entity('Yar', id=123, _app=self.app_id)
    entity['u1'] = None
    entity['u2'] = None
    entity['u3'] = [1, 2, 3]
    entity.set_unindexed_properties(('u1', 'u2', 'u3'))
    self.assertEquals(2, datastore_viewer.DatastoreRequestHandler._get_write_ops(entity))

dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/admin/datastore_viewer_test.py GetWriteOpsTest.test_unindexed_properties_no_composite_indexes/original