test_save_load (method)

load_file_3 = 'C:\\Users\\HP\\Documents\\Franco\\Software\\git\\pyleecan\\pyleecan\\../Tests\\Data\\test_wrong_slot_load_3.json'

test for save and load fonctions

test_save_load_machine()[source]

Check that you can save and load a machine object

test_save_folder_path()[source]

Save with a folder path

test_save_load_just_name()[source]

Save with a folder path

test_load_error_missing()[source]

Test that the load function can detect missing file

test_load_error_wrong_type()[source]

Test that the load function can detect wrong type

test_load_error_missing_class()[source]

Test that the load function can detect missing __class__

test_load_error_wrong_class()[source]

Test that the load function can detect wrong __class__

test_load_switch()[source]

Test that the load function can detect wrong load_switch dict

test_save_load_list()[source]

Test the save and load function of data structures

test_save_load_dict()[source]

Test the save and load function of data structures