def test_db_exists(self): ret = postgres.db_exists('test_db', user='******', host='testhost', port='testport', maintenance_db='maint_db', password='******', runas='foo') self.assertTrue(ret)
def test_db_exists(self): ret = postgres.db_exists( 'test_db', user='******', host='testhost', port='testport', maintenance_db='maint_db', password='******', runas='foo' ) self.assertTrue(ret)