diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/middleware/test_open_store.py (renamed from tests/middleware/test_open_database.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/middleware/test_open_database.py b/tests/middleware/test_open_store.py index 769c04e..dd430e9 100644 --- a/tests/middleware/test_open_database.py +++ b/tests/middleware/test_open_store.py @@ -1,12 +1,12 @@ from contextlib import contextmanager from wsgiref.validate import validator -from paste import open_database +from paste import open_store from ..common_wsgi import call_app -def test_open_database(monkeypatch): +def test_open_store(monkeypatch): db_path = "test_db_path" store = object() @@ -16,7 +16,7 @@ def test_open_database(monkeypatch): yield store @validator - @open_database + @open_store @validator def app(environ, start_response): assert "paste.store" in environ |