diff --git a/python/nav/dhcp/dhcp_data.py b/python/nav/dhcp/generic_metrics.py similarity index 100% rename from python/nav/dhcp/dhcp_data.py rename to python/nav/dhcp/generic_metrics.py diff --git a/python/nav/dhcp/kea_dhcp_data.py b/python/nav/dhcp/kea_metrics.py similarity index 99% rename from python/nav/dhcp/kea_dhcp_data.py rename to python/nav/dhcp/kea_metrics.py index f0baec2b92..faf61cd4a1 100644 --- a/python/nav/dhcp/kea_dhcp_data.py +++ b/python/nav/dhcp/kea_metrics.py @@ -23,7 +23,7 @@ from dataclasses import dataclass, asdict from enum import IntEnum from IPy import IP -from nav.dhcp.dhcp_data import DhcpMetricSource, DhcpMetric, DhcpMetricKey +from nav.dhcp.generic_metrics import DhcpMetricSource, DhcpMetric, DhcpMetricKey from nav.errors import GeneralException from requests.exceptions import JSONDecodeError, HTTPError, Timeout from typing import Optional diff --git a/tests/unittests/dhcp/kea_dhcp_data_test.py b/tests/unittests/dhcp/kea_dhcp_data_test.py index 4ac07207db..50cb60fa5a 100644 --- a/tests/unittests/dhcp/kea_dhcp_data_test.py +++ b/tests/unittests/dhcp/kea_dhcp_data_test.py @@ -1,5 +1,5 @@ from collections import deque -from nav.dhcp.kea_dhcp_data import * +from nav.dhcp.kea_metrics import * import pytest import requests from IPy import IP