def assert_uninstalled(self, container, msg=None):
        failure_msg = 'package %s is not installed' % (PACKAGE_NAME,)
        rpm_cmd = 'rpm -q %s' % (PACKAGE_NAME,)

        self.testcase.assertRaisesRegexp(
            OSError,
            failure_msg,
            self.testcase.cluster.exec_cmd_on_host, container,
            rpm_cmd, msg=msg)
dataset/ETHPy150Open prestodb/presto-admin/tests/product/standalone/presto_installer.py/StandalonePrestoInstaller.assert_uninstalled/original