diff --git a/cove_oc4ids/views.py b/cove_oc4ids/views.py index a078ba5..3e0391c 100644 --- a/cove_oc4ids/views.py +++ b/cove_oc4ids/views.py @@ -1,7 +1,7 @@ import json import logging -from decimal import Decimal import re +from decimal import Decimal from cove.views import cove_web_input_error, explore_data_context from django.conf import settings diff --git a/tests/test_basic.py b/tests/test_basic.py index 95bca32..ea4627e 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -1,4 +1,5 @@ import os + import pytest from cove.input.models import SuppliedData from django.core.files.base import ContentFile @@ -24,8 +25,6 @@ def test_explore_page(client, json_data): assert resp.status_code == 200 - - @pytest.mark.django_db def test_codelist_url_extension_codelists(client): file_name = os.path.join(