[Bug 1503698] Re: FTBFS due to broken unit tests
Łukasz Zemczak
1503698 at bugs.launchpad.net
Fri Oct 9 08:14:35 UTC 2015
Oh, right! Yeah, I think I was not thinking when typing that. pysaml2
really needs a better test suite. I generally think that relying on
actual time when having some pre-generated timestamps is a bad idea in
overall. They should mock their time methods and stop relying on real
time during tests, otherwise the test suite will have to be updated
again soon.
Thanks for sponsoring!
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1503698
Title:
FTBFS due to broken unit tests
Status in python-pysaml2 package in Ubuntu:
Fix Released
Bug description:
In the wily test-rebuild [1] python-pysaml2 seems to fail to build due
to multiple errors and failures in the unit tests. The log:
============================= test session starts ==============================
platform linux2 -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
rootdir: /«PKGBUILDDIR», inifile:
collected 493 items / 1 errors
tests/test_00_xmldsig.py ..............................................
tests/test_01_xmlenc.py ......
tests/test_02_saml.py ..............................................................................
tests/test_03_saml2.py .....................
tests/test_04_samlp.py ........................
tests/test_05_md.py ..........................................................
tests/test_10_time_util.py .................
tests/test_12_s_utils.py ..................................
tests/test_13_validate.py .......
tests/test_19_attribute_converter.py .............
tests/test_20_assertion.py ................................
tests/test_22_mdie.py .
tests/test_30_mdstore.py .......
tests/test_30_mdstore_old.py .......
tests/test_31_config.py ............
tests/test_32_cache.py ..........
tests/test_33_identifier.py ......
tests/test_34_population.py ....
tests/test_37_entity_categories.py ......
tests/test_40_sigver.py ...............
tests/test_41_response.py ..FF
tests/test_42_enc.py ....
tests/test_43_soap.py ..
tests/test_44_authnresp.py ....
tests/test_50_server.py ................
tests/test_51_client.py ...............
tests/test_60_sp.py ss
tests/test_62_vo.py ........
tests/test_63_ecp.py .
tests/test_64_artifact.py ...
tests/test_65_authn_query.py ..
tests/test_66_name_id_mapping.py ..
tests/test_67_manage_name_id.py ..
tests/test_68_assertion_id.py .
tests/test_69_discovery.py .....
tests/test_70_redirect_signing.py .
tests/test_72_eptid.py ..
tests/test_75_mongodb.py .F
tests/test_76_metadata_in_mdb.py .
tests/test_77_authn_context.py ......
tests/test_81_certificates.py ....
tests/test_88_nsprefix.py ..
(...)
[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-
rebuild-20151001-wily.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pysaml2/+bug/1503698/+subscriptions
More information about the Ubuntu-sponsors
mailing list