Skip to content

Commit

Permalink
refactor DIR to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 4, 2023
1 parent d5fa284 commit 0e257bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e257bf

Please sign in to comment.