tests: AdisTS: Add open MassZero study test.

This commit is contained in:
parouby committed 2025-08-21 13:47:41 +02:00
1 parent 072840a18c
commit 084223037c
1 file changed
+6
+6
View File
@@ -89,6 +89,12 @@ class StudyScenarioTestCase(unittest.TestCase):
self.assertEqual(study.name, "Enlargement") self.assertEqual(study.name, "Enlargement")
self.assertEqual(study.status.scenario_id, 0) 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): def test_save_open_study(self):
study = Study.new("foo", "bar") study = Study.new("foo", "bar")
new = study.new_scenario_from_current() new = study.new_scenario_from_current()