40
40
# If the charms fail, we don't want tests to hang indefinitely.
41
41
timeout = int(os.environ.get('TEST_TIMEOUT', 900))
44
45
def sql(self, sql, postgres_unit=None, psql_unit=None, dbname=None):
45
46
'''Run some SQL on postgres_unit from psql_unit.