fandango.test.simulation module

fandango.test.simulation.dev2file(d, suffix='.json')[source]
fandango.test.simulation.export(devices, suffix='.json', preffix='')[source]

save devices in .json files

fandango.test.simulation.load(tango_host, instance, devices, replace={}, overwrite=False, def_class='SimulatorDS')[source]

the tango_host variable must match with the current tango_host; it is used to avoid accidental loading load .json files into simulated devices; one .json file per device devices may be a list of devices, a list of files or a dictionary {device:filename}