diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-01-10 22:34:26 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-01-11 22:48:39 +0200 |
commit | dbbfe1e3b032a1ecf8e2c84eca5fa74728f257f2 (patch) | |
tree | b33bc081580a45afac539fe9101897159c505532 /tests/test_42_enc.py | |
parent | 4d1e36c43f70e43c66055f46fd092799a025a111 (diff) | |
download | pysaml2-dbbfe1e3b032a1ecf8e2c84eca5fa74728f257f2.tar.gz |
Remove validate_output parameter from _run_xmlsec
All callers set it to false, but one which calls the validation method itself
after the call to _run_xmlsec (which means that validation is done twice).
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'tests/test_42_enc.py')
-rw-r--r-- | tests/test_42_enc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_42_enc.py b/tests/test_42_enc.py index d5c348f1..c29eca1e 100644 --- a/tests/test_42_enc.py +++ b/tests/test_42_enc.py @@ -72,9 +72,7 @@ def test_enc1(): "--node-xpath", ASSERT_XPATH] crypto = CryptoBackendXmlSec1(xmlsec_path) - (_stdout, _stderr, output) = crypto._run_xmlsec( - com_list, [tmpl], validate_output=False - ) + (_stdout, _stderr, output) = crypto._run_xmlsec(com_list, [tmpl]) print(output) assert _stderr == "" |