def test_get_states_transition_details(self, projects, snapshot): #arrange from .raw_inputs import get_transition_details_query_dto storage = ProjectStorageImplementation() #act response = storage.get_states_transition_details( get_transition_details_query_dto) #assert snapshot.assert_match(response, 'transition_details_dto')
def test_get_states_transition_details_with_zero_checklist( self, projects, snapshot): #arrange from .raw_inputs\ import query_dto_with_no_checklist_for_transition storage = ProjectStorageImplementation() #act response = storage.get_states_transition_details( query_dto_with_no_checklist_for_transition) #assert snapshot.assert_match(response, 'transition_details')