@@ -0,0 +1,602 @@
+%22%22%22Tests for string formatting functions.%22%22%22%0Afrom foremast.utils.pipelines import normalize_pipeline_name%0A%0ASAFE_PIPELINE_NAMES = %7B%0A    '#pudding/pop': '_pudding_pop',%0A    'caesar?salad': 'caesar_salad',%0A    'chutes&ladders.json': 'chutes&ladders.json',%0A    'conga-line': 'conga-line',%0A    'DAKOTA%5C%5CACCESS': 'DAKOTA_ACCESS',%0A    'jelly/baby': 'jelly_baby',%0A    'pizza%252Fpie': 'pizza_2Fpie',%0A    'water': 'water',%0A%7D%0A%0A%0Adef test_safe_pipeline_names():%0A    %22%22%22Check Pipeline name safe formatting.%22%22%22%0A    for raw, safe in SAFE_PIPELINE_NAMES.items():%0A        assert normalize_pipeline_name(name=raw) == safe%0A

Check Pipeline name normalizer