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

@@ -26,9 +26,8 @@ import httpx
from flask import Flask
from test_site import db
from testlib import NEXT_URI
NEXT_URI: str = "/_next"
"""The next URI."""
NON_EMPTY_NOTE: str = " This is \n\na test."
"""The stripped content of an non-empty note."""
EMPTY_NOTE: str = " \n\n "