def test_unload_script_with_token(self):
        result = [
            ("UNLOAD ('SELECT * FROM test_table;') TO 's3://test/' "
             "CREDENTIALS "
             "'aws_access_key_id=a;aws_secret_access_key=b;token=c' "
             "DELIMITER '\t' ESCAPE NULL AS 'NULL'")
        ]
        compare_scripts(
            self.basic_table.unload_script('s3://test/', 'a', 'b', 'c'),
            result)
Tests if the unload script generates successfully
dataset/ETHPy150Open coursera/dataduct/dataduct/database/tests/test_table.py/TestTable.test_unload_script_with_token