You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpEngine/test/python_tests
Hartmut Goebel 52d0a1f1c7 tests: python: Update readme. 2 years ago
..
README.md tests: python: Update readme. 2 years ago
conftest.py remove common, too 5 years ago
pytest.ini tests: Fix running python tests. 2 years ago
requirements.txt tests: python: Add requirements file for pip. 2 years ago
setup_test.py tests: python: Don't link paths from real home into dummy home. 2 years ago
test_handshake.py tests: python: Change names of dummy home directories. 2 years ago
transport.py tests: python: Speedup tests by reducing sleep time. 2 years ago

README.md

Usage

To execute these tests, install p≡p Python adapter from https://letsencrypt.pep.foundation/dev/repos/pEpPythonAdapter/

These tests are meant to be run using pytest https://pytest.org and pytest-mp https://github.com/ansible/pytest-mp:

pip install -r requirements.txt

You can run setup_test.py before running the tests if the initial setup is failing.

To remove all generated files run setup_test.py -r

License

  • Source code is under GNU Affero General Public License 3.0 (see LICENSE.txt)
  • Documentation (incl. this file) is under Creative Commons Attribution ShareAlike 4.0 (CC-BY-SA 4.0)