{"id":24603632,"url":"https://github.com/apkawa/pytest-django-liveserver-ssl","last_synced_at":"2025-05-01T14:23:50.582Z","repository":{"id":62584026,"uuid":"390672132","full_name":"Apkawa/pytest-django-liveserver-ssl","owner":"Apkawa","description":"Extends pytest-django live_server fixture for add ssl feature","archived":false,"fork":false,"pushed_at":"2025-01-09T16:12:31.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T06:39:16.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Apkawa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-29T09:32:35.000Z","updated_at":"2025-01-09T16:12:35.000Z","dependencies_parsed_at":"2022-11-03T21:37:47.630Z","dependency_job_id":null,"html_url":"https://github.com/Apkawa/pytest-django-liveserver-ssl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"Apkawa/python-library-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fpytest-django-liveserver-ssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fpytest-django-liveserver-ssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fpytest-django-liveserver-ssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fpytest-django-liveserver-ssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apkawa","download_url":"https://codeload.github.com/Apkawa/pytest-django-liveserver-ssl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251887906,"owners_count":21660079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-24T15:15:17.231Z","updated_at":"2025-05-01T14:23:50.552Z","avatar_url":"https://github.com/Apkawa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation Status](https://readthedocs.org/projects/pytest-django-liveserver-ssl/badge/?version=latest)](https://pytest-django-liveserver-ssl.readthedocs.io/en/latest/?badge=latest)\n\n[![ci](https://github.com/Apkawa/pytest-django-liveserver-ssl/actions/workflows/ci.yml/badge.svg)](https://github.com/Apkawa/pytest-django-liveserver-ssl/actions/workflows/ci.yml)\n[![Codecov](https://codecov.io/gh/Apkawa/pytest-django-liveserver-ssl/branch/master/graph/badge.svg)](https://codecov.io/gh/Apkawa/pytest-django-liveserver-ssl) \u003c/br\u003e\n\n[![PyPi](https://img.shields.io/pypi/v/pytest-django-liveserver-ssl.svg)](https://pypi.python.org/pypi/pytest-django-liveserver-ssl)\n[![PyPi Python versions](https://img.shields.io/pypi/pyversions/pytest-django-liveserver-ssl.svg)](https://pypi.python.org/pypi/pytest-django-liveserver-ssl)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\u003c/br\u003e\n\n# pytest-django-liveserver-ssl\n\nAdd `live_server_ssl` fixture for pytest-django.\n\n# Installation\n\n```bash\npip install pytest-django-liveserver-ssl\n```\n\nor from git\n\n```bash\npip install -e git+https://githib.com/Apkawa/pytest-django-liveserver-ssl.git@master#egg=pytest-django-liveserver-ssl\n```\n\n# Usage\n\n```python\nimport requests\n\n\ndef test_live_server_connection(live_server_ssl):\n    assert live_server_ssl.remote_url.startswith(\"https://localhost:\")\n    assert live_server_ssl.url.startswith(\"http://0.0.0.0:\")\n\n    response = requests.get(live_server_ssl.remote_url, verify=False)\n    assert response.text == \"OK\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapkawa%2Fpytest-django-liveserver-ssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapkawa%2Fpytest-django-liveserver-ssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapkawa%2Fpytest-django-liveserver-ssl/lists"}