diagram.get_transitions() returns a list of transition that contains at least one element, when diagram set as the original diagram.
test_case = test_gen.test_cases[test_case].diagram is also a diagram object that is able to call state_names(), get_states(), etc, but it's not able to call get_transitions() as a regular diagram object does.
I avoided this hole by adding a little more logic to the TestAdmin and test_admin_processor, so it's not an urgent bug that need to be fixed now.
diagram.get_transitions() returns a list of transition that contains at least one element, when diagram set as the original diagram.
test_case = test_gen.test_cases[test_case].diagram is also a diagram object that is able to call state_names(), get_states(), etc, but it's not able to call get_transitions() as a regular diagram object does.
I avoided this hole by adding a little more logic to the TestAdmin and test_admin_processor, so it's not an urgent bug that need to be fixed now.