Hello,

Some data is not put in the ipatests package. This prevents OTP token import tests from passing when run out of tree.


Fix included.

--
PetrĀ³
From 51b894668d4c940deca006d069335f8e446a954e Mon Sep 17 00:00:00 2001
From: Petr Viktorin <pvikt...@redhat.com>
Date: Wed, 2 Jul 2014 16:35:27 +0200
Subject: [PATCH] test_ipaserver: Add OTP token test data to ipatests package

The missing files caused test failures when running tests out of tree.
---
 freeipa.spec.in      | 1 +
 ipatests/setup.py.in | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 50df60280cfee34c301bdb23083e2b448b413803..774cd8fd18d3e6574164718a101124ec38990e8b 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -836,6 +836,7 @@ fi
 %dir %{python_sitelib}/ipatests/test_ipapython
 %dir %{python_sitelib}/ipatests/test_ipaserver
 %dir %{python_sitelib}/ipatests/test_ipaserver/test_install
+%dir %{python_sitelib}/ipatests/test_ipaserver/data
 %dir %{python_sitelib}/ipatests/test_pkcs10
 %dir %{python_sitelib}/ipatests/test_webui
 %dir %{python_sitelib}/ipatests/test_xmlrpc
diff --git a/ipatests/setup.py.in b/ipatests/setup.py.in
index b50cb6026cb5ba68af33207dcdfc13a59d309b38..7f041465c132b6a5ab941ba253c2fb6e011b458e 100644
--- a/ipatests/setup.py.in
+++ b/ipatests/setup.py.in
@@ -80,7 +80,9 @@ def setup_package():
             package_data = {
                 'ipatests.test_install': ['*.update'],
                 'ipatests.test_integration': ['scripts/*'],
-                'ipatests.test_pkcs10': ['*.csr']}
+                'ipatests.test_pkcs10': ['*.csr'],
+                "ipatests.test_ipaserver": ['data/*'],
+            }
         )
     finally:
         del sys.path[0]
-- 
1.9.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to