

def test_get_context_dict_escaped_character(self):
    ' Test getting a config dict with escaping filter will properly escape a character'
    manifest = load_manifest(StringIO(manifest_escaped_parameters))
    context_dict = manifest.get_context_dict()
    assert ('section:escapeme|escaped' in context_dict)
    tools.eq_(context_dict['section:escapeme|escaped'], '\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\"\\\'\\~\\`\\/\\?\\<\\>')

dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/tests/test_manifest.py TestManifest.test_get_context_dict_escaped_character/original