

def test_connector_add_missing_connector(self):
    self.setup_cluster(NoHadoopBareImageProvider(), self.STANDALONE_PRESTO_CLUSTER)
    not_found_error = self.fatal_error('Configuration for connector tpch not found')
    self.run_prestoadmin('connector remove tpch')
    self.assertRaisesRegexp(OSError, not_found_error, not_found_error.run_prestoadmin, 'connector add tpch')

dataset/ETHPy150Open prestodb/presto-admin/tests/product/test_connectors.py TestConnectors.test_connector_add_missing_connector/VarMisuse@47/102 `self`->`not_found_error`