def test_shell_quote(self):
    args = ['ffmpeg', '-i', encodeFilename("ñ€ß'.mp4")]
    self.assertEqual(shell_quote(args), ('ffmpeg -i \'ñ€ß\'"\'"\'.mp4\'' if (compat_os_name != 'nt') else 'ffmpeg -i "ñ€ß\'.mp4"'))
def test_shell_quote(self):
    args = ['ffmpeg', '-i', encodeFilename("ñ€ß'.mp4")]
    self.assertEqual(shell_quote(args), ('ffmpeg -i \'ñ€ß\'"\'"\'.mp4\ if (compat_os_name != 'nt') else 'ffmpeg -i "ñ€ß\'.mp4"'))