URL: https://github.com/freeipa/freeipa/pull/147
Author: gkaihorodova
 Title: #147: Tests: Unaccessible variable self.attrs in Tracker
Action: opened

PR body:
"""
https://fedorahosted.org/freeipa/ticket/6125

"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/147/head:pr147
git checkout pr147
From f3e20d8f9618421f6f05acdafea95c220a25ce78 Mon Sep 17 00:00:00 2001
From: gkaihoro <gkaih...@example.com>
Date: Mon, 29 Aug 2016 12:09:07 +0200
Subject: [PATCH] Test for caacl-add-service

Test for caacl-add-service: incorrect error message when service does not exists

https://fedorahosted.org/freeipa/ticket/6171
---
 ipatests/test_xmlrpc/test_caacl_plugin.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipatests/test_xmlrpc/test_caacl_plugin.py b/ipatests/test_xmlrpc/test_caacl_plugin.py
index dce12e4..5286417 100644
--- a/ipatests/test_xmlrpc/test_caacl_plugin.py
+++ b/ipatests/test_xmlrpc/test_caacl_plugin.py
@@ -141,6 +141,7 @@ def test_remove_ca(self, category_acl, caacl_test_ca):
     def test_add_invalid_value_service(self, category_acl, default_profile):
         res = category_acl.add_service(service=default_profile.name, track=False)
         assert len(res['failed']) == 1
+        assert(res['failed']['memberservice']['service'][0][0].startswith(default_profile.name))
 
     # the same for other types
 
-- 
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