Skip to content

Commit 8e8b4ac

Browse files
BrianMichelltasansal
authored andcommitted
Fix missing test fixture error
1 parent 3a3325c commit 8e8b4ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/test_segy_import_export_masked.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def raw_headers_env(request: pytest.FixtureRequest) -> None:
318318
class TestNdImportExport:
319319
"""Test import/export of n-D SEG-Ys to MDIO, with and without selection mask."""
320320

321-
def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path) -> None:
321+
def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
322322
"""Test import of an n-D SEG-Y file to MDIO.
323323
324324
NOTE: This test must be executed before running 'test_ingested_mdio', 'test_export', and
@@ -340,7 +340,7 @@ def test_import(self, test_conf: MaskedExportConfig, export_masked_path: Path) -
340340
overwrite=True,
341341
)
342342

343-
def test_ingested_mdio(self, test_conf: MaskedExportConfig, export_masked_path: Path) -> None:
343+
def test_ingested_mdio(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
344344
"""Verify if ingested data is correct.
345345
346346
NOTE: This test must be executed after the 'test_import' successfully completes
@@ -395,7 +395,7 @@ def test_ingested_mdio(self, test_conf: MaskedExportConfig, export_masked_path:
395395
expected = np.arange(1, num_traces + 1, dtype=np.float32).reshape(live_mask.shape)
396396
assert np.array_equal(actual, expected)
397397

398-
def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path) -> None:
398+
def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
399399
"""Test export of an n-D MDIO file back to SEG-Y.
400400
401401
NOTE: This test must be executed after the 'test_import' and 'test_ingested_mdio'
@@ -432,7 +432,7 @@ def test_export(self, test_conf: MaskedExportConfig, export_masked_path: Path) -
432432
assert_array_equal(desired=expected_traces.header, actual=actual_traces.header)
433433
assert_array_equal(desired=expected_traces.sample, actual=actual_traces.sample)
434434

435-
def test_export_masked(self, test_conf: MaskedExportConfig, export_masked_path: Path) -> None:
435+
def test_export_masked(self, test_conf: MaskedExportConfig, export_masked_path: Path, raw_headers_env: None) -> None:
436436
"""Test export of an n-D MDIO file back to SEG-Y with masked export.
437437
438438
NOTE: This test must be executed after the 'test_import' and 'test_ingested_mdio'

0 commit comments

Comments
 (0)