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
|
@ -10,17 +10,17 @@ from fastapi import HTTPException
|
|||
from fastapi.testclient import TestClient
|
||||
|
||||
import aurweb.asgi
|
||||
import aurweb.aur_redis
|
||||
import aurweb.config
|
||||
import aurweb.redis
|
||||
from aurweb.exceptions import handle_form_exceptions
|
||||
from aurweb.testing.requests import Request
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def setup(db_test, email_test):
|
||||
aurweb.redis.redis_connection().flushall()
|
||||
aurweb.aur_redis.redis_connection().flushall()
|
||||
yield
|
||||
aurweb.redis.redis_connection().flushall()
|
||||
aurweb.aur_redis.redis_connection().flushall()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue