Skip to content

Commit a91892f

Browse files
author
David Erb
committed
fixes tests for fudge offset
1 parent 1d15251 commit a91892f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/test_chimp_adapter.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ async def _main_coroutine(self, constants, output_directory):
5151
p = multiprocessing.Process(target=self.__process, args=[self.__run_97wo_01A_1])
5252
p.start()
5353
p.join()
54+
assert p.exitcode == 0
5455

5556
p = multiprocessing.Process(target=self.__process, args=[self.__run_97wo_01A_2])
5657
p.start()
5758
p.join()
59+
assert p.exitcode == 0
5860

5961
p = multiprocessing.Process(target=self.__process, args=[self.__run_97wo_01A_3])
6062
p.start()
6163
p.join()
64+
assert p.exitcode == 0
6265

6366
# ----------------------------------------------------------------------------------------
6467
def __process(self, run):
@@ -88,8 +91,8 @@ def __run_97wo_01A_1(self, chimp_adapter):
8891
assert well_model_autolocation.auto_target_x == pytest.approx(479, 3)
8992
assert well_model_autolocation.auto_target_y == pytest.approx(475, 3)
9093

91-
assert well_model_autolocation.well_centroid_x == 600
92-
assert well_model_autolocation.well_centroid_y == 504
94+
assert well_model_autolocation.well_centroid_x == 630
95+
assert well_model_autolocation.well_centroid_y == 494
9396

9497
# ----------------------------------------------------------------------------------------
9598
def __run_97wo_01A_2(self, chimp_adapter):
@@ -113,8 +116,8 @@ def __run_97wo_01A_2(self, chimp_adapter):
113116
assert well_model_autolocation.auto_target_x == pytest.approx(475, 3)
114117
assert well_model_autolocation.auto_target_y == pytest.approx(745, 3)
115118

116-
assert well_model_autolocation.well_centroid_x == 600
117-
assert well_model_autolocation.well_centroid_y == 536
119+
assert well_model_autolocation.well_centroid_x == 630
120+
assert well_model_autolocation.well_centroid_y == 526
118121

119122
# ----------------------------------------------------------------------------------------
120123
def __run_97wo_01A_3(self, chimp_adapter):
@@ -138,5 +141,5 @@ def __run_97wo_01A_3(self, chimp_adapter):
138141
assert well_model_autolocation.auto_target_x == pytest.approx(417, 3)
139142
assert well_model_autolocation.auto_target_y == pytest.approx(672, 3)
140143

141-
assert well_model_autolocation.well_centroid_x == 608
142-
assert well_model_autolocation.well_centroid_y == 504
144+
assert well_model_autolocation.well_centroid_x == 638
145+
assert well_model_autolocation.well_centroid_y == 494

0 commit comments

Comments
 (0)