pengtianyue / Solvay_test

0 stars 1 forks source link

Get_transitions() need to be fixed for solved test case calling #21

Open pengtianyue opened 8 years ago

pengtianyue commented 8 years ago

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.

mekcrab commented 8 years ago

Removed [optional] tag - all bugs must be squashed!!