tests: AdisTS: Add open MassZero study test.

scenarios
Pierre-Antoine 2025-08-21 13:47:41 +02:00
parent 072840a18c
commit 084223037c
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ class StudyScenarioTestCase(unittest.TestCase):
self.assertEqual(study.name, "Enlargement")
self.assertEqual(study.status.scenario_id, 0)
def test_open_study_2(self):
study = Study.open("../tests_cases/MassZero/TestMultibiefs.pamhyr")
self.assertNotEqual(study, None)
self.assertEqual(study.name, "TestMultibiefs")
self.assertEqual(study.status.scenario_id, 0)
def test_save_open_study(self):
study = Study.new("foo", "bar")
new = study.new_scenario_from_current()