Internal fork of https://github.com/Netflix/lemur.git
fbbf7f90f6
* Fix test certificates module hanging issue When executing the lemur/tests/test_certificates.py module's tests, all tests are executed, but the test process appears to hang and never completes with the display of the results for the tests. The hanging issue is traced to the two test methods: test_import(logged_in_user) and test_upload(logged_in_user). The issue has to do with the test methods' using the logged_in_user(app) fixture from the conftest.py module as the method parameter. The test methods at issue require the session, db, and app fixtures to be initialized for the tests to complete successfully. The logged_in_user() fixture only initializes the app fixture. Updating the test_import() and test_upload() methods parameters to be the "session" fixture fixes the hanging issue and the tests complete successfully. This is the command being used to execute the tests... $ py.test -s -v lemur/tests/test_certificates.py * Update fix for test certificates hanging issue Based on feedback from the original pull request for this fix, added the session fixture to the logged_in_user fixture and reverted the test_import() and test_upload() methods to use the logged_in_user (instead of the session fixture). |
||
---|---|---|
docs | ||
gulp | ||
hooks | ||
lemur | ||
trustores | ||
.bowerrc | ||
.gitattributes | ||
.gitignore | ||
.jshintignore | ||
.jshintrc | ||
.travis.yml | ||
AUTHORS | ||
bower.json | ||
CHANGELOG.rst | ||
config-default.py | ||
gulpfile.js | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
OSSMETADATA | ||
package.json | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Lemur ===== .. image:: https://badges.gitter.im/Join%20Chat.svg :alt: Join the chat at https://gitter.im/Netflix/lemur :target: https://gitter.im/Netflix/lemur?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge .. image:: https://readthedocs.org/projects/lemur/badge/?version=latest :target: https://lemur.readthedocs.org :alt: Latest Docs .. image:: https://img.shields.io/badge/NetflixOSS-active-brightgreen.svg .. image:: https://travis-ci.org/Netflix/lemur.svg :target: https://travis-ci.org/Netflix/lemur Lemur manages TLS certificate creation. While not able to issue certificates itself, Lemur acts as a broker between CAs and environments providing a central portal for developers to issue TLS certificates with 'sane' defaults. It works on CPython 2.7, 3.3, 3.4. We deploy on Ubuntu and develop on OS X. Project resources ================= - `Lemur Blog Post <http://techblog.netflix.com/2015/09/introducing-lemur.html>`_ - `Documentation <http://lemur.readthedocs.org/>`_ - `Source code <https://github.com/netflix/lemur>`_ - `Issue tracker <https://github.com/netflix/lemur/issues>`_ - `Docker <https://github.com/Netflix/lemur-docker>`_