diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 567f478c..109cfae2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -89,6 +89,7 @@ jobs: pip install -U setuptools sudo apt-get update -qq sudo apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev + pip install --force-reinstall --no-binary lxml lxml make install-req make install-test - name: Run linters diff --git a/tests/src/OneLogin/saml2_tests/response_test.py b/tests/src/OneLogin/saml2_tests/response_test.py index 43921135..87a8c246 100644 --- a/tests/src/OneLogin/saml2_tests/response_test.py +++ b/tests/src/OneLogin/saml2_tests/response_test.py @@ -761,8 +761,7 @@ def testGetEncryptedAttributes(self): Tests the get_attributes method of the OneLogin_Saml2_Response with an encrypted response """ settings = OneLogin_Saml2_Settings(self.loadSettingsJSON('settings8.json')) - xml = self.file_contents(join(self.data_path, 'responses', - 'signed_message_encrypted_assertion2.xml.base64')) + xml = self.file_contents(join(self.data_path, 'responses', 'signed_message_encrypted_assertion2.xml.base64')) response = OneLogin_Saml2_Response(settings, xml) self.assertEqual({ 'uid': ['smartin'],