Exemplo n.º 1
0
 def test_user_exists(self):
     ret = postgres.user_exists('test_user',
                                user='******',
                                host='test_host',
                                port='test_port',
                                maintenance_db='maint_db',
                                password='******',
                                runas='foo')
     self.assertTrue(ret)
Exemplo n.º 2
0
 def test_user_exists(self):
     ret = postgres.user_exists(
         'test_user',
         user='******',
         host='test_host',
         port='test_port',
         maintenance_db='maint_db',
         password='******',
         runas='foo'
     )
     self.assertTrue(ret)