Skip to content

Commit becec79

Browse files
Merge pull request NREL#230 from aimiktena/main
Correct BaseTestCase import in test files
2 parents ccfd394 + 3f5efc0 commit becec79

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

tests/geophires_x_client_tests/test_geophires_input_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import uuid
33
from pathlib import Path
44

5-
from base_test_case import BaseTestCase
65
from geophires_x_client import GeophiresInputParameters
6+
from tests.base_test_case import BaseTestCase
77

88

99
class GeophiresInputParametersTestCase(BaseTestCase):

tests/geophires_x_tests/test_cylindrical_reservoir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import unittest
33
from pathlib import Path
44

5-
from base_test_case import BaseTestCase
5+
from tests.base_test_case import BaseTestCase
66

77
# Ruff disabled because imports are order-dependent
88
# ruff: noqa: I001

tests/geophires_x_tests/test_economics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from base_test_case import BaseTestCase
21
from geophires_x.Economics import CalculateFinancialPerformance
2+
from tests.base_test_case import BaseTestCase
33

44

55
class EconomicsTestCase(BaseTestCase):

tests/geophires_x_tests/test_reservoir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
from pint.facets.plain import PlainQuantity
66

7-
from base_test_case import BaseTestCase
87
from geophires_x.GeoPHIRESUtils import static_pressure_MPa
98
from geophires_x.Model import Model
109
from geophires_x.Reservoir import Reservoir
10+
from tests.base_test_case import BaseTestCase
1111

1212

1313
class ReservoirTestCase(BaseTestCase):

tests/test_base_test_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from base_test_case import BaseTestCase
3+
from tests.base_test_case import BaseTestCase
44

55

66
class TestBaseTestCase(BaseTestCase):

tests/test_parameter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import unittest
44
from pathlib import Path
55

6-
from base_test_case import BaseTestCase
76
from geophires_x.Model import Model
87
from geophires_x.Parameter import OutputParameter
98
from geophires_x.Parameter import Parameter
@@ -14,6 +13,7 @@
1413
from geophires_x.Units import LengthUnit
1514
from geophires_x.Units import PressureUnit
1615
from geophires_x.Units import Units
16+
from tests.base_test_case import BaseTestCase
1717

1818

1919
class ParameterTestCase(BaseTestCase):

0 commit comments

Comments
 (0)