def test_set_key_index_size(self, *, app, rocks, table): s = Store("rocksdb://", app, table, key_index_size=12341) assert s.key_index_size == 12341
def store(self, *, app, rocks, table): return Store("rocksdb://", app, table)
def test_no_rocksdb(self, *, app, table, no_rocks): with pytest.raises(ImproperlyConfigured): Store("rocksdb://", app, table)
def test_url_having_path(self, *, app, rocks, table): store = Store("rocksdb://foobar/", app, table) assert store.url == URL("rocksdb://foobar/")
def store(self, *, app, rocks, table): return Store('rocksdb://', app, table)