Moved the duplicated NEXT_URI constant from test_account.py and testlib_journal_entry.py to testlib.py.

This commit is contained in:
2023-03-23 17:22:57 +08:00
parent 7d084e570e
commit 361b18e411
8 changed files with 14 additions and 16 deletions

View File

@ -27,12 +27,9 @@ from flask import Flask
from flask.testing import FlaskCliRunner
from test_site import db
from testlib import create_test_app, get_client, set_locale
from testlib import NEXT_URI, create_test_app, get_client, set_locale
from testlib_journal_entry import add_journal_entry
NEXT_URI: str = "/_next"
"""The next URI."""
class AccountData:
"""The account data."""