don't use pytest and fix include paths

This commit is contained in:
Arne Morten Kvarving committed 2025-10-08 15:21:26 +02:00
1 parent 8f63339907
commit 1d757283dc
2 files changed
+6 -4

No files matched your search

@@ -4,9 +4,9 @@ from pathlib import Path
import numpy as np
import subprocess
from .utils import Dense, Sequential
from .utils import collect_input_features, compute_output_vars, write_config, extract_newtit_from_file, extract_unrst_variables
from .utils import (ABSOLUTE_CASES, RELATIVE_CASES, FEATURE_ENGINEERING_CASES, SCALING_CASES, MULTI_MODEL_CASES, ZERO_NEWTON_CASES, ALL_CASES)
from utils import Dense, Sequential
from utils import collect_input_features, compute_output_vars, write_config, extract_newtit_from_file, extract_unrst_variables
from utils import ABSOLUTE_CASES, RELATIVE_CASES, FEATURE_ENGINEERING_CASES, SCALING_CASES, MULTI_MODEL_CASES, ZERO_NEWTON_CASES, ALL_CASES
from opm.ml.ml_tools.kerasify import export_model
+3 -1
View File
@@ -3,7 +3,9 @@ file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/tests/integration/HybridNewton)
add_test(NAME
HybridNewton
COMMAND
pytest ${PROJECT_SOURCE_DIR}/python/integration_tests/ml/hybrid_newton
${Python3_EXECUTABLE}
-m unittest discover
${PROJECT_SOURCE_DIR}/python/integration_tests/ml/hybrid_newton
WORKING_DIRECTORY
${PROJECT_BINARY_DIR}/tests/integration/HybridNewton
)