aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_application.py
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-03-28 18:57:40 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-03-28 20:10:48 +0100
commit3f1d9361497c4e0803f3dc3ea9cee9d3a4087171 (patch)
treeaee85f3a9858638482389b1a7118e7d4dd0cc863 /tests/test_application.py
parentd198fca95919cc78275d3d9fa8f1b0a8acfdbab3 (diff)
downloadpaste-3f1d9361497c4e0803f3dc3ea9cee9d3a4087171.tar.gz
paste-3f1d9361497c4e0803f3dc3ea9cee9d3a4087171.tar.xz
paste-3f1d9361497c4e0803f3dc3ea9cee9d3a4087171.zip
Split Store into Store and Auth
This separates the concerns
Diffstat (limited to 'tests/test_application.py')
-rw-r--r--tests/test_application.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_application.py b/tests/test_application.py
index 20cbeac..c250909 100644
--- a/tests/test_application.py
+++ b/tests/test_application.py
@@ -5,7 +5,7 @@ from webtest import TestApp
import paste.db
from paste import __main__, application
-from paste.store import Store
+from paste.store import Auth
DB = "file::memory:?cache=shared"
@@ -25,7 +25,7 @@ def app(db):
@pytest.fixture
def token(db):
- return b64encode(Store(db).generate_token()).decode()
+ return b64encode(Auth(db).generate_token()).decode()
@pytest.mark.parametrize("method", ["put", "post", "delete"])