def test_escape_chars(self): s = artifactory.escape_chars('a,b|c=d') self.assertEqual(s, "a\,b\|c\=d")