def METHOD_NAME(self):
    """
    Sanity check that get_presigned_upload_url returns a string if all arguments
    are valid.
    """
    # use a real connection here as a sanity check
    ret = get_presigned_upload_url(
        "a/b/abc.jpg", "aBc", 10, 1, storage=self.STORAGE, client=None
    )
    url = ret["uploadURL"]
    assert isinstance(url, str)