Skip to content

Commit 70483b8

Browse files
Use test-specific filenames to avoid potential confusion with examples
1 parent 85a388e commit 70483b8

File tree

3 files changed

+3
-22
lines changed

3 files changed

+3
-22
lines changed

tests/geophires_x_client_tests/example1.txt renamed to tests/geophires_x_client_tests/client_test_input_1.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
GEOPHIRES v2.0 Input File
2-
Created on 2018-06-11
3-
Last modified on 2024-02-28
4-
Geothermal Electricity Problem using a Multiple Parallel Fractures Model
5-
6-
Example 1 Description: This problem considers an EGS reservoir at 3km depth.
7-
Ramey's model is applied to simulate production wellbore heat losses. The heat
8-
is used in for electricity application with a reinjection temperature of 50deg.C.
9-
10-
111
***Subsurface technical parameters***
122
*************************************
133
Reservoir Model,1, ---Multiple Fractures reservoir model

tests/geophires_x_client_tests/example2.txt renamed to tests/geophires_x_client_tests/client_test_input_2.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
GEOPHIRES v2.0 Input File
2-
Created on 2018-06-11
3-
Last modified on 2018-06-11
4-
Geothermal Direct-Use Example Problem using a Linear Heat Sweep Model.
5-
6-
Example 2 Description: This problem considers an EGS reservoir at 3km depth.
7-
Ramey's model is applied to simulate production wellbore heat losses. The heat
8-
is used in direct-use heat application with reinjection temperature of 70deg.C
9-
101
***Subsurface Technical Parameters***
112
*************************************
123

tests/geophires_x_client_tests/test_geophires_input_parameters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
class GeophiresInputParametersTestCase(BaseTestCase):
1010

1111
def test_id(self):
12-
input_1 = GeophiresInputParameters(from_file_path=self._get_test_file_path('example1.txt'))
13-
input_2 = GeophiresInputParameters(from_file_path=self._get_test_file_path('example2.txt'))
12+
input_1 = GeophiresInputParameters(from_file_path=self._get_test_file_path('client_test_input_1.txt'))
13+
input_2 = GeophiresInputParameters(from_file_path=self._get_test_file_path('client_test_input_2.txt'))
1414
self.assertIsNot(input_1._id, input_2._id)
1515

1616
def test_init_with_input_file(self):
17-
file_path = self._get_test_file_path('example1.txt')
17+
file_path = self._get_test_file_path('client_test_input_1.txt')
1818
input_params = GeophiresInputParameters(from_file_path=file_path)
1919
self.assertEqual(file_path, input_params.as_file_path())
2020

0 commit comments

Comments
 (0)