Summary: | [NEW PORT] devel/py-pytest-httpbin: Easily test your HTTP library against a local copy of httpbin.org | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Charlie Li <vishwin> | ||||
Component: | Individual Port(s) | Assignee: | Ruslan Makhmatkhanov <rm> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | python, rm | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 251847 | ||||||
Bug Blocks: | 250941 | ||||||
Attachments: |
|
Hey @Ruslan I have a port ready to commit for this as part of a py-request update (for QA) (In reply to Kubilay Kocak from comment #1) Hi Kubilay, please commit, if you do. I have a problem with poudriere jail after updating my system to 14, so can't test it right now. A commit references this bug: Author: rm Date: Wed Feb 24 09:55:46 UTC 2021 New revision: 566462 URL: https://svnweb.freebsd.org/changeset/ports/566462 Log: Pytest-httpbin creates a pytest fixture that is dependency-injected into your tests. It automatically starts up a HTTP server in a separate thread running httpbin and provides your test with the URL in the fixture. WWW: https://github.com/kevin1024/pytest-httpbin PR: 252187 Submitted by: python@FreeBSD.org Changes: head/devel/Makefile head/devel/py-pytest-httpbin/ head/devel/py-pytest-httpbin/Makefile head/devel/py-pytest-httpbin/distinfo head/devel/py-pytest-httpbin/pkg-descr New port added, thank you! |
Created attachment 220979 [details] v1 This creates a pytest fixture for a local httpbin instance. Needed to run the test suite for devel/py-requests. No tests are included here in the pypi distribution, but are present on the github source.