Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions examples/data_hyper_cleaning/test_data_hyper_cleaning.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import os
import pytest
import subprocess
from unittest.mock import patch

SCRIPT_PATH = os.path.join(os.path.dirname(__file__), "data_hyper_cleaning.py")

gm_oplist = (
["NGD"],
["DI", "NGD"],
Expand Down Expand Up @@ -39,7 +42,7 @@
def test_combination_dynamic_na_op(gm_op, na_op):
command = [
"python",
"/home/runner/work/BOAT/BOAT/examples/data_hyper_cleaning/data_hyper_cleaning.py",
SCRIPT_PATH,
"--gm_op",
",".join(gm_op),
"--na_op",
Expand Down Expand Up @@ -67,7 +70,7 @@ def test_combination_dynamic_na_op(gm_op, na_op):
def test_combination_dynamic_na_op_dm(gm_op, na_op):
command = [
"python",
"/home/runner/work/BOAT/BOAT/examples/data_hyper_cleaning/data_hyper_cleaning.py",
SCRIPT_PATH,
"--gm_op",
",".join(gm_op),
"--na_op",
Expand All @@ -88,7 +91,7 @@ def test_combination_dynamic_na_op_dm(gm_op, na_op):
def test_fo_ol_method(fo_ol_method):
command = [
"python",
"/home/runner/work/BOAT/BOAT/examples/data_hyper_cleaning/data_hyper_cleaning.py",
SCRIPT_PATH,
"--fo_op",
fo_ol_method[0],
]
Expand Down