def METHOD_NAME(self):
    expires_in = 1000
    stdout = self.get_presigned_url_for_cmd(
        self.prefix + 's3://bucket/key --expires-in %s' % expires_in)
    self.assert_presigned_url_matches(
        stdout, {
            'hostname': 'bucket.s3.amazonaws.com',
            'path': '/key',
            'query_params': {
                'AWSAccessKeyId': 'access_key',
                'Expires': str(FROZEN_TIMESTAMP + expires_in),
                'Signature': 'WZEMcfBNlzfTZBq3bOvYef1cfoU%3D',
            }
        }
    )