mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
chore: rename logging.py and redis.py to avoid circular imports
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
b757e66997
commit
9c0f8f053e
32 changed files with 72 additions and 73 deletions
|
@ -11,7 +11,7 @@ from fastapi.testclient import TestClient
|
|||
|
||||
import aurweb.config
|
||||
import aurweb.models.account_type as at
|
||||
from aurweb import captcha, db, logging, time
|
||||
from aurweb import aur_logging, captcha, db, time
|
||||
from aurweb.asgi import app
|
||||
from aurweb.db import create, query
|
||||
from aurweb.models.accepted_term import AcceptedTerm
|
||||
|
@ -31,7 +31,7 @@ from aurweb.models.user import User
|
|||
from aurweb.testing.html import get_errors
|
||||
from aurweb.testing.requests import Request
|
||||
|
||||
logger = logging.get_logger(__name__)
|
||||
logger = aur_logging.get_logger(__name__)
|
||||
|
||||
# Some test global constants.
|
||||
TEST_USERNAME = "test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue