No project description provided
Project description
pytest-django-liveserver-ssl
Add live_server_ssl fixture for pytest-django.
Installation
pip install pytest-django-liveserver-ssl
or from git
pip install -e git+https://githib.com/Apkawa/pytest-django-liveserver-ssl.git@master#egg=pytest-django-liveserver-ssl
Usage
import requests
def test_live_server_connection(live_server_ssl):
assert live_server_ssl.remote_url.startswith("https://localhost:")
assert live_server_ssl.url.startswith("http://0.0.0.0:")
response = requests.get(live_server_ssl.remote_url, verify=False)
assert response.text == "OK"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_django_liveserver_ssl-0.0.3.tar.gz.
File metadata
- Download URL: pytest_django_liveserver_ssl-0.0.3.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b91a0abdba55b783fc4ba5a2c7e7df23c1c4717fb020c572cdbeba2e3d01683
|
|
| MD5 |
87baf314996a7c24e71c94c2f0fe7826
|
|
| BLAKE2b-256 |
b7a1cd661efcf2aaec032f48994d7041cb03aecfb4ad1f73684d4d0f6ccd85de
|
File details
Details for the file pytest_django_liveserver_ssl-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: pytest_django_liveserver_ssl-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7c6545038c2c5e107d75cb50e26735da614d240179210e9584ca5a10b5ac144
|
|
| MD5 |
ab34462a9ee8314bb206904edc89de72
|
|
| BLAKE2b-256 |
88af82bd70cd750296656551057a444f7905ede3329ebcdb6a407206551a24fa
|