From b4da9910ca2cf256159d73fea2d983d27803a2a3 Mon Sep 17 00:00:00 2001 From: Nicolas Thumann Date: Tue, 7 Nov 2023 10:24:37 +0100 Subject: [PATCH] Fix: Unit tests for Python 3.9 --- tests/nvd/cve_change_history/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nvd/cve_change_history/test_api.py b/tests/nvd/cve_change_history/test_api.py index ed52e0560..00a7fdf31 100644 --- a/tests/nvd/cve_change_history/test_api.py +++ b/tests/nvd/cve_change_history/test_api.py @@ -18,14 +18,14 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from unittest import IsolatedAsyncioTestCase -from unittest.mock import AsyncMock, MagicMock, patch +from unittest.mock import MagicMock, patch from uuid import UUID from httpx import AsyncClient, Response from pontos.nvd.cve_change_history.api import CVEChangeHistoryApi from pontos.nvd.models.cve_change import Detail, EventName +from tests import AsyncMock, IsolatedAsyncioTestCase, aiter, anext from tests.nvd import get_cve_change_data