Fix for user tracker in ipatests/test_xmlrpc/test_user_plugin.py so that it reflects recently changed message of user-del command.

Lenka
From 226ea47939160ef3a164a1e8f979f52f10a7d83e Mon Sep 17 00:00:00 2001
From: Lenka Doudova <ldoud...@redhat.com>
Date: Wed, 26 Aug 2015 16:16:43 +0200
Subject: [PATCH] Fix user tracker to reflect new user-del message

---
 ipatests/test_xmlrpc/test_user_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/test_xmlrpc/test_user_plugin.py b/ipatests/test_xmlrpc/test_user_plugin.py
index 1809f3d0a106a6a099500ca76d88a36758bc063d..b4355261f45087631b2509c70f4408a40e541922 100644
--- a/ipatests/test_xmlrpc/test_user_plugin.py
+++ b/ipatests/test_xmlrpc/test_user_plugin.py
@@ -1969,7 +1969,7 @@ class UserTracker(Tracker):
 
         def finish():
             with raises_exact(errors.NotFound(
-                    reason=u'no such entry')):
+                    reason=u'%s: user not found' % self.uid)):
                 del_command()
 
         request.addfinalizer(finish)
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to