def METHOD_NAME(self):
    """
    Test to make sure we encode path arguments containing spaces correctly
    """
    encoded = win_functions.escape_argument("C:\\Some Path\\With Spaces")
    self.assertEqual(encoded, '^"C:\\Some Path\\With Spaces^"')