[Python-modules-team] Bug#757897: Fwd: Bug#757897: FTBFS: self.assertFalse(Certificate(CERT1).has_expired()) fails
Brian May
brian at microcomaustralia.com.au
Tue Aug 12 06:36:18 UTC 2014
---------- Forwarded message ----------
From: Brian May <brian at microcomaustralia.com.au>
Date: 12 August 2014 15:59
Subject: Re: [Python-modules-team] Bug#757897: FTBFS:
self.assertFalse(Certificate(CERT1).has_expired()) fails
To: Debian Bug Tracking System <submit at bugs.debian.org>
On 12 August 2014 15:05, Brian May <brian at microcomaustralia.com.au> wrote:
> ======================================================================
> FAIL: test_has_expired
> (celery.tests.security.test_certificate.test_Certificate)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/«PKGBUILDDIR»/celery/tests/security/test_certificate.py", line
> 26, in test_has_expired
> self.assertFalse(Certificate(CERT1).has_expired())
> AssertionError: 1L is not false
>
>
On a hunch, I tried installing the latest python-openssl (see
https://bugs.debian.org/751144), now I get:
======================================================================
FAIL: test_has_expired
(celery.tests.security.test_certificate.test_Certificate)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/brian/tree/debian/unstable/celery/celery/celery/tests/security/test_certificate.py",
line 28, in test_has_expired
self.assertFalse(Certificate(CERT1).has_expired())
AssertionError: True is not false
----------------------------------------------------------------------
The certificate expired "Jul 24 12:11:14 2014", so I think the test is
faulty.
This seems to be further confused by the fact that python-openssl in Debian
returns 1L instead of True.
--
Brian May <brian at microcomaustralia.com.au>
--
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140812/abd9f02a/attachment.html>
More information about the Python-modules-team
mailing list