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("*****@*****.**")
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("*****@*****.**")