@@ -72,16 +72,16 @@ def vcr_config():
7272
7373
7474@pytest .fixture (scope = "session" )
75- def anyvlm_anyvar_postgres_uri ():
75+ def anyvlm_postgres_uri ():
7676 return environ .get (
77- "ANYVLM_ANYVAR_TEST_STORAGE_URI " ,
78- "postgresql://postgres:postgres@localhost:5432/anyvlm_anyvar_test " ,
77+ "ANYVLM_TEST_STORAGE_URI " ,
78+ "postgresql://postgres:postgres@localhost:5432/anyvlm_test " ,
7979 )
8080
8181
8282@pytest .fixture
83- def anyvar_python_client (anyvlm_anyvar_postgres_uri : str ) -> PythonAnyVarClient :
84- storage = create_storage (anyvlm_anyvar_postgres_uri )
83+ def anyvar_python_client (anyvlm_postgres_uri : str ) -> PythonAnyVarClient :
84+ storage = create_storage (anyvlm_postgres_uri )
8585 storage .wipe_db ()
8686 translator = create_translator ()
8787 return PythonAnyVarClient (translator , storage )
@@ -101,14 +101,6 @@ def anyvar_populated_python_client(
101101 return anyvar_python_client
102102
103103
104- @pytest .fixture (scope = "session" )
105- def anyvlm_postgres_uri ():
106- return environ .get (
107- "ANYVLM_TEST_STORAGE_URI" ,
108- "postgresql://postgres:postgres@localhost:5432/anyvlm_test" ,
109- )
110-
111-
112104@pytest .fixture
113105def postgres_storage (anyvlm_postgres_uri : str ):
114106 """Reset storage state after each test case"""
0 commit comments