From d2cd31916bf47068d72fa61e2b4ec155f19ad0c0 Mon Sep 17 00:00:00 2001 From: Sixto Martin Date: Mon, 9 Oct 2023 11:33:46 +0200 Subject: [PATCH] Fix CI Lint --- .github/workflows/python-package.yml | 1 + tests/src/OneLogin/saml2_tests/response_test.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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'],