def test_create_dictionary_from_keys_and_values_lists_fail( self, robot_call): mock_gui = Mock() GUILibrary.create_dictionary_from_keys_and_values_lists( mock_gui, [5], [6, 7]) robot_call.assert_called_with( "The length of the keys and values lists is not the same: \nKeys Length: " + "1" + "\nValues Length: " + "2", "ERROR")
def test_create_dictionary_from_keys_and_values_lists_simple(self): mock_gui = Mock() assert GUILibrary.create_dictionary_from_keys_and_values_lists( mock_gui, [5], [6]) == { 5: 6 }