diff --git a/src/bk-user/tests/apis/web/audit/conftest.py b/src/bk-user/tests/apis/web/audit/conftest.py index 4e0c00e66..9dc5826b5 100644 --- a/src/bk-user/tests/apis/web/audit/conftest.py +++ b/src/bk-user/tests/apis/web/audit/conftest.py @@ -25,7 +25,7 @@ pytestmark = pytest.mark.django_db -@pytest.fixture() +@pytest.fixture def audit_records(bk_user, default_tenant, other_tenant) -> List[OperationAuditRecord]: return [ OperationAuditRecord.objects.create( @@ -71,6 +71,6 @@ def audit_records(bk_user, default_tenant, other_tenant) -> List[OperationAuditR ] -@pytest.fixture() +@pytest.fixture def other_tenant() -> Tenant: return create_tenant(tenant_id="other_tenant")