Avoid exceptions when generating persistent hardware maps on Linux with no devices available. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This change creates unit tests for the hardwaremap.py module. It achieves 98% coverage. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>