From 143e8dd3095b04a7ed889a1f48da8f4e905f19d8 Mon Sep 17 00:00:00 2001 From: huojiarong Date: Tue, 18 Aug 2026 00:57:32 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/simulation/paths.py | 2 +- tests/test_amesim_component_migration_matrix.py | 7 ++++++- tests/test_high_stiffness_explicit_rk45.py | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/simulation/paths.py b/app/simulation/paths.py index 3697b07..9fc0866 100644 --- a/app/simulation/paths.py +++ b/app/simulation/paths.py @@ -15,7 +15,7 @@ DATA_DIR = ( ) SIMULATION_RUNS_DIR = DATA_DIR / "simulation-runs" -SIMULATION_BASELINES_DIR = PROJECT_ROOT / "tests" / "baselines" / "simulation" +SIMULATION_BASELINES_DIR = PROJECT_ROOT / "tests" / "data" AMESIM_TEST_MQL_ARCHIVE_PATH = PROJECT_ROOT / "AmesimModels" / "test_mql.ame" MODELICA_TESTMODEL_RESULT_PATH = ( PROJECT_ROOT / "ModelicaModels" / "Simulation" / "Testmodel_res.csv" diff --git a/tests/test_amesim_component_migration_matrix.py b/tests/test_amesim_component_migration_matrix.py index 79fc5c2..1a7545c 100644 --- a/tests/test_amesim_component_migration_matrix.py +++ b/tests/test_amesim_component_migration_matrix.py @@ -6,7 +6,12 @@ from pathlib import Path from app.simulation.examples.test_mql import system as test_mql -MATRIX_PATH = Path(__file__).resolve().parents[1] / "docs" / "amesim-component-migration-matrix.md" +MATRIX_PATH = ( + Path(__file__).resolve().parents[1] + / "docs" + / "other" + / "amesim-component-migration-matrix.md" +) class AmesimComponentMigrationMatrixTests(unittest.TestCase): diff --git a/tests/test_high_stiffness_explicit_rk45.py b/tests/test_high_stiffness_explicit_rk45.py index fb8011c..f5429c7 100644 --- a/tests/test_high_stiffness_explicit_rk45.py +++ b/tests/test_high_stiffness_explicit_rk45.py @@ -10,6 +10,7 @@ from app.main import run_system_xml_simulation FIXTURE_PATH = ( Path(__file__).resolve().parent + / "data" / "fixtures" / "high_stiffness_explicit_rk45.xml" )