{"id":16691312,"url":"https://github.com/gr1n/pytest-mockservers","last_synced_at":"2025-04-10T01:05:29.736Z","repository":{"id":48199119,"uuid":"136318959","full_name":"Gr1N/pytest-mockservers","owner":"Gr1N","description":"A set of fixtures to test your requests to HTTP/UDP servers","archived":false,"fork":false,"pushed_at":"2021-08-05T09:33:25.000Z","size":89,"stargazers_count":6,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T01:05:21.147Z","etag":null,"topics":["http","mock","mock-server","pytest","pytest-plugin","udp"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pytest-mockservers/","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/Gr1N.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-06T11:26:44.000Z","updated_at":"2025-02-22T23:50:11.000Z","dependencies_parsed_at":"2022-09-09T09:20:47.095Z","dependency_job_id":null,"html_url":"https://github.com/Gr1N/pytest-mockservers","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gr1N%2Fpytest-mockservers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gr1N%2Fpytest-mockservers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gr1N%2Fpytest-mockservers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gr1N%2Fpytest-mockservers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gr1N","download_url":"https://codeload.github.com/Gr1N/pytest-mockservers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137888,"owners_count":21053775,"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":["http","mock","mock-server","pytest","pytest-plugin","udp"],"created_at":"2024-10-12T16:07:49.740Z","updated_at":"2025-04-10T01:05:29.719Z","avatar_url":"https://github.com/Gr1N.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytest-mockservers\n\n[![Build Status](https://github.com/Gr1N/pytest-mockservers/workflows/default/badge.svg)](https://github.com/Gr1N/pytest-mockservers/actions?query=workflow%3Adefault) ![PyPI](https://img.shields.io/pypi/v/pytest-mockservers.svg?label=pypi%20version) ![PyPI - Downloads](https://img.shields.io/pypi/dm/pytest-mockservers.svg?label=pypi%20downloads) ![GitHub](https://img.shields.io/github/license/Gr1N/pytest-mockservers.svg)\n\n`pytest-mockservers` package provides a set of fixtures which can help you to test your code in cases when you need to check that requests which you sent to HTTP/UDP server are really sent.\n\nAvailable fixtures:\n\n* `http_server`\n* `http_server_factory`\n* `unused_port`\n* `unused_port_factory`\n* `unused_udp_port`\n* `unused_udp_port_factory`\n* `udp_server_factory`\n\n## Installation\n\n```shell\n$ pip install pytest-mockservers\n```\n\n## Usage\n\nLook into `tests/*` to find real examples of `pytest-mockservers` fixtures usage.\n\n## Contributing\n\nTo work on the `pytest-mockservers` codebase, you'll want to clone the project locally and install the required dependencies via [poetry](https://python-poetry.org):\n\n```sh\n$ git clone git@github.com:Gr1N/pytest-mockservers.git\n$ make install\n```\n\nTo run tests and linters use command below:\n\n```sh\n$ make lint \u0026\u0026 make test\n```\n\nIf you want to run only tests or linters you can explicitly specify which test environment you want to run, e.g.:\n\n```sh\n$ make lint-black\n```\n\n## License\n\n`pytest-mockservers` is licensed under the MIT license. See the license file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr1n%2Fpytest-mockservers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgr1n%2Fpytest-mockservers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr1n%2Fpytest-mockservers/lists"}