Skip to content

Commit

Permalink
Merge pull request #230 from aimiktena/main
Browse files Browse the repository at this point in the history
Correct BaseTestCase import in test files
  • Loading branch information
softwareengineerprogrammer authored Jun 7, 2024
2 parents ccfd394 + 3f5efc0 commit becec79
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import uuid
from pathlib import Path

from base_test_case import BaseTestCase
from geophires_x_client import GeophiresInputParameters
from tests.base_test_case import BaseTestCase


class GeophiresInputParametersTestCase(BaseTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/geophires_x_tests/test_cylindrical_reservoir.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest
from pathlib import Path

from base_test_case import BaseTestCase
from tests.base_test_case import BaseTestCase

# Ruff disabled because imports are order-dependent
# ruff: noqa: I001
Expand Down
2 changes: 1 addition & 1 deletion tests/geophires_x_tests/test_economics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from base_test_case import BaseTestCase
from geophires_x.Economics import CalculateFinancialPerformance
from tests.base_test_case import BaseTestCase


class EconomicsTestCase(BaseTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/geophires_x_tests/test_reservoir.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

from pint.facets.plain import PlainQuantity

from 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):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_base_test_case.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from base_test_case import BaseTestCase
from tests.base_test_case import BaseTestCase


class TestBaseTestCase(BaseTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import unittest
from pathlib import Path

from base_test_case import BaseTestCase
from geophires_x.Model import Model
from geophires_x.Parameter import OutputParameter
from geophires_x.Parameter import Parameter
Expand All @@ -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):
Expand Down

0 comments on commit becec79

Please sign in to comment.