remove setup

This commit is contained in:
vbarda
2024-08-07 12:23:00 -04:00
parent 1e237bf33a
commit 51b62ca0bd
5 changed files with 13 additions and 8 deletions
+3 -1
View File
@@ -13,7 +13,7 @@ from langgraph.checkpoint.postgres.aio import AsyncPostgresSaver
class TestAsyncPostgresSaver:
@pytest.fixture(autouse=True)
def setup(self):
async def setup(self):
# objects for test setup
self.config_1: RunnableConfig = {
"configurable": {
@@ -55,6 +55,8 @@ class TestAsyncPostgresSaver:
"score": None,
}
self.metadata_3: CheckpointMetadata = {}
async with AsyncPostgresSaver.from_conn_string(DEFAULT_URI) as saver:
await saver.setup()
async def test_asearch(self):
async with AsyncPostgresSaver.from_conn_string(DEFAULT_URI) as saver: