修复测试资源路径
This commit is contained in:
1 parent
0fa166c8e5
commit
143e8dd309
3 files changed
+8
-2
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user