From 0e257bf3d8a923ee66a5f05ef19116f023ad6972 Mon Sep 17 00:00:00 2001 From: BernhardKoschicek Date: Wed, 4 Oct 2023 09:45:54 +0200 Subject: [PATCH] refactor DIR to PATH --- tests/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_index.py b/tests/test_index.py index 21ab0dccb..863fdc007 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -27,7 +27,7 @@ def test_index(self) -> None: self.app.get(url_for('set_locale', language='en')) - app.config['WRITABLE_DIRS'].append(Path(app.root_path) / 'error') + app.config['WRITABLE_PATHS'].append(Path(app.root_path) / 'error') app.config['DATABASE_VERSION'] = 'error' rv = self.app.get(url_for('view', id_=666), follow_redirects=True) assert b'teapot' in rv.data