From 86128a52d349cf69bf42785c4c3256d664598352 Mon Sep 17 00:00:00 2001 From: rgraber Date: Wed, 18 Sep 2024 14:27:23 -0400 Subject: [PATCH] fixup!: rm unused imports --- kobo/apps/audit_log/models.py | 1 - kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/kobo/apps/audit_log/models.py b/kobo/apps/audit_log/models.py index fc4799b8df..f3cb4d8f37 100644 --- a/kobo/apps/audit_log/models.py +++ b/kobo/apps/audit_log/models.py @@ -1,5 +1,4 @@ import logging -from importlib.metadata import metadata from django.conf import settings from django.contrib.auth.models import AnonymousUser diff --git a/kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py b/kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py index 41297bf8a7..61f049e3b6 100644 --- a/kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py +++ b/kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py @@ -1,5 +1,4 @@ from datetime import datetime, timedelta -from unittest.mock import Mock, patch from django.contrib.auth import get_user_model from django.utils import timezone @@ -8,12 +7,10 @@ from kobo.apps.audit_log.models import ( AccessLog, - AccessLogManager, AuditAction, AuditLog, AuditType, ) -from kobo.apps.audit_log.serializers import AuditLogSerializer from kobo.apps.audit_log.tests.test_signals import skip_login_access_log from kobo.apps.kobo_auth.shortcuts import User from kpi.constants import (