

def test_no_properties(self):
    entity = datastore.Entity('Yar', id=123, _app=self.app_id)
    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_no_properties/original