diff --git a/test/units/modules/network/dellos10/dellos10_module.py b/test/units/modules/network/dellos10/dellos10_module.py index 4521bb2e38..30f048c08b 100644 --- a/test/units/modules/network/dellos10/dellos10_module.py +++ b/test/units/modules/network/dellos10/dellos10_module.py @@ -32,6 +32,9 @@ fixture_data = {} def load_fixture(name): + # convert illegal filenames (both unix and windows to another char) + name = name.replace(':', '_semicolon_') + path = os.path.join(fixture_path, name) if path in fixture_data: diff --git a/test/units/modules/network/dellos10/fixtures/show_processes_node-id_1__grep_Mem: b/test/units/modules/network/dellos10/fixtures/show_processes_node-id_1__grep_Mem_semicolon_ similarity index 100% rename from test/units/modules/network/dellos10/fixtures/show_processes_node-id_1__grep_Mem: rename to test/units/modules/network/dellos10/fixtures/show_processes_node-id_1__grep_Mem_semicolon_