def _clean_up_mesos_cli_config(context):
    if hasattr(context, 'mesos_cli_config_filename'):
        print 'Cleaning up %s' % context.mesos_cli_config_filename
        os.unlink(context.mesos_cli_config_filename)
        del context.mesos_cli_config_filename
If a mesos cli config file was written, clean it up.
dataset/ETHPy150Open Yelp/paasta/paasta_itests/environment.py/_clean_up_mesos_cli_config