diff --git a/tests/test_12_s_utils.py b/tests/test_12_s_utils.py index b03ad1b..ca53003 100644 --- a/tests/test_12_s_utils.py +++ b/tests/test_12_s_utils.py @@ -106,7 +106,7 @@ def test_status_from_tuple(): def test_status_from_tuple_empty_message(): stat = utils.error_status_factory((samlp.STATUS_UNKNOWN_PRINCIPAL, None)) status_text = "%s" % stat - assert status_text == ERROR_STATUS_EMPTY + assert status_text in (ERROR_STATUS_EMPTY, ERROR_STATUS_NO_HEADER_EMPTY) def test_attribute_sn():