Beispiel #1
0
 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)
Beispiel #2
0
 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)