diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-01-18 13:21:24 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-01-18 13:21:24 -0500 |
commit | 554bded7058a21abc5b5ea1afb09f0c2825d2c76 (patch) | |
tree | 859d87881ebf1c56b5caf1fa27918276d0bb1302 /testsuite | |
parent | 3d78a3a1c00035c9d8c49b949b63e8f05f31c7a1 (diff) | |
download | bcfg2-554bded7058a21abc5b5ea1afb09f0c2825d2c76.tar.gz bcfg2-554bded7058a21abc5b5ea1afb09f0c2825d2c76.tar.bz2 bcfg2-554bded7058a21abc5b5ea1afb09f0c2825d2c76.zip |
testsuite: fixed test for encrypted Properties w/o crypto libraries installed
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py index d66780a20..cb15ff641 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py @@ -250,14 +250,6 @@ class TestXMLPropertyFile(TestPropertyFile, TestStructFile): pf.xdata = lxml.etree.Element("Properties") lxml.etree.SubElement(pf.xdata, "Crypted", encrypted="foo") pf.data = lxml.etree.tostring(pf.xdata) - # extra test: crypto is not available, but properties file is - # encrypted - has_crypto = Bcfg2.Server.Plugins.Properties.HAS_CRYPTO - Bcfg2.Server.Plugins.Properties.HAS_CRYPTO = False - try: - self.assertRaises(PluginExecutionError, pf.Index) - finally: - Bcfg2.Server.Plugins.Properties.HAS_CRYPTO = has_crypto @skipUnless(HAS_CRYPTO, "No crypto libraries found, skipping") def test_Index_crypto(self): |