Issue 7 in django-pki: Unit tests for django-pki

6 views
Skip to first unread message

djang...@googlecode.com

unread,
Apr 9, 2010, 8:33:59 AM4/9/10
to djang...@googlegroups.com
Status: New
Owner: d.k3rwin

New issue 7 by d.k3rwin: Unit tests for django-pki
http://code.google.com/p/django-pki/issues/detail?id=7

To reduce time required for a testing cycle and to find obvious bug unit
tests are required.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

djang...@googlecode.com

unread,
Apr 10, 2010, 1:11:57 AM4/10/10
to djang...@googlegroups.com

Comment #1 on issue 7 by lwarxx: Unit tests for django-pki
http://code.google.com/p/django-pki/issues/detail?id=7

One of the tests fails if OpenSSL version differs:

======================================================================
FAIL: testOpensslExec (pki.tests.CertificateAuthorityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/django_pki_testsite/pki/tests.py", line 48, in testOpensslExec
self.assertEqual(self.ca_action.exec_openssl(['version'],
None).rstrip('\n'),
'OpenSSL 0.9.7l 28 Sep 2006')
AssertionError: 'OpenSSL 0.9.8n 24 Mar 2010' != 'OpenSSL 0.9.7l 28 Sep 2006'

----------------------------------------------------------------------
Ran 39 tests in 18.966s

FAILED (failures=1)
Destroying test database...

djang...@googlecode.com

unread,
Apr 10, 2010, 6:30:18 AM4/10/10
to djang...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 7 by d.k3rwin: Unit tests for django-pki
http://code.google.com/p/django-pki/issues/detail?id=7

This was mainly for testing. Need to get the real version with Popen call.

Reply all
Reply to author
Forward
0 new messages