# BaseStoreAsyncTests

> **Class** in `langchain_tests`

📖 [View in docs](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests)

Test suite for checking the key-value API of a `BaseStore`.

This test suite verifies the basic key-value API of a `BaseStore`.

The test suite is designed for synchronous key-value stores.

Implementers should subclass this test suite and provide a fixture
that returns an empty key-value store for each test.

## Signature

```python
BaseStoreAsyncTests()
```

## Extends

- `BaseStandardTests`
- `Generic[V]`

## Methods

- [`kv_store()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/kv_store)
- [`three_values()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/three_values)
- [`test_three_values()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_three_values)
- [`test_kv_store_is_empty()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_kv_store_is_empty)
- [`test_set_and_get_values()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_set_and_get_values)
- [`test_store_still_empty()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_store_still_empty)
- [`test_delete_values()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_delete_values)
- [`test_delete_bulk_values()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_delete_bulk_values)
- [`test_delete_missing_keys()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_delete_missing_keys)
- [`test_set_values_is_idempotent()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_set_values_is_idempotent)
- [`test_get_can_get_same_value()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_get_can_get_same_value)
- [`test_overwrite_values_by_key()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_overwrite_values_by_key)
- [`test_yield_keys()`](https://reference.langchain.com/python/langchain-tests/integration_tests/base_store/BaseStoreAsyncTests/test_yield_keys)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/b302691ff9ad841804e93e5addbdc53b6974473b/libs/standard-tests/langchain_tests/integration_tests/base_store.py#L165)