From 3137c7c7243bcf7e8fdb4a31310ff03aab4c2481 Mon Sep 17 00:00:00 2001 From: Aimilia Dimitra Ktena Date: Wed, 5 Jun 2024 21:06:47 +0300 Subject: [PATCH] Fixed pre-commit hooks --- .../geophires_x_client_tests/test_geophires_input_parameters.py | 2 +- tests/geophires_x_tests/test_economics.py | 2 +- tests/geophires_x_tests/test_reservoir.py | 2 +- tests/test_parameter.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/geophires_x_client_tests/test_geophires_input_parameters.py b/tests/geophires_x_client_tests/test_geophires_input_parameters.py index e17ea47c..dc8f926a 100644 --- a/tests/geophires_x_client_tests/test_geophires_input_parameters.py +++ b/tests/geophires_x_client_tests/test_geophires_input_parameters.py @@ -2,8 +2,8 @@ import uuid from pathlib import Path -from tests.base_test_case import BaseTestCase from geophires_x_client import GeophiresInputParameters +from tests.base_test_case import BaseTestCase class GeophiresInputParametersTestCase(BaseTestCase): diff --git a/tests/geophires_x_tests/test_economics.py b/tests/geophires_x_tests/test_economics.py index dc4e7ff2..d6db574e 100644 --- a/tests/geophires_x_tests/test_economics.py +++ b/tests/geophires_x_tests/test_economics.py @@ -1,5 +1,5 @@ -from tests.base_test_case import BaseTestCase from geophires_x.Economics import CalculateFinancialPerformance +from tests.base_test_case import BaseTestCase class EconomicsTestCase(BaseTestCase): diff --git a/tests/geophires_x_tests/test_reservoir.py b/tests/geophires_x_tests/test_reservoir.py index 157eb19b..119e73f6 100644 --- a/tests/geophires_x_tests/test_reservoir.py +++ b/tests/geophires_x_tests/test_reservoir.py @@ -4,10 +4,10 @@ from pint.facets.plain import PlainQuantity -from tests.base_test_case import BaseTestCase from geophires_x.GeoPHIRESUtils import static_pressure_MPa from geophires_x.Model import Model from geophires_x.Reservoir import Reservoir +from tests.base_test_case import BaseTestCase class ReservoirTestCase(BaseTestCase): diff --git a/tests/test_parameter.py b/tests/test_parameter.py index a4ead761..33c8f333 100644 --- a/tests/test_parameter.py +++ b/tests/test_parameter.py @@ -3,7 +3,6 @@ import unittest from pathlib import Path -from tests.base_test_case import BaseTestCase from geophires_x.Model import Model from geophires_x.Parameter import OutputParameter from geophires_x.Parameter import Parameter @@ -14,6 +13,7 @@ from geophires_x.Units import LengthUnit from geophires_x.Units import PressureUnit from geophires_x.Units import Units +from tests.base_test_case import BaseTestCase class ParameterTestCase(BaseTestCase):