def setUp(self):
    super(LocalReadOnlyClientTestCase, self).setUp()
    options.options.localdb_dir = ''
    self._client = LocalClient(test_SCHEMA, read_only=True)

    self._client._read_only = False
    self._RunAsync(test_SCHEMA.VerifyOrCreate, self._client)
    self._RunAsync(self._client.PutItem, table='LocalTest', key=DBKey(hash_key=1, range_key=1), attributes={'num': 1})
    self._client._read_only = True
View files in a file path.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/local_client_test.py/LocalReadOnlyClientTestCase.setUp--crossover with--dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/views.py/browser