예제 #1
0
 def test_delete_user(self):
     res = SyncGateway.put_user("username1", "*****@*****.**", "password",
                                ["public"])
     res = SyncGateway.delete_user("username1")
     self.assertTrue(res)
     with self.assertRaises(SyncGatewayException):
         SyncGateway.get_user("*****@*****.**")
예제 #2
0
 def test_delete_user(self):
     res = SyncGateway.put_user("username1", "*****@*****.**", "password", ["public"])
     res = SyncGateway.delete_user("username1")
     self.assertTrue(res)
     with self.assertRaises(SyncGatewayException):
         SyncGateway.get_user("*****@*****.**")