./www/py-test-httpbin, Easily test your HTTP library against a local copy of httpbin

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.0, Package name: py27-test-httpbin-1.0.0, Maintainer: pkgsrc-users

httpbin is an amazing web service for testing HTTP libraries. It
has several great endpoints that can test pretty much everything
you need in a HTTP library. The only problem is: maybe you don't
want to wait for your tests to travel across the Internet and back
to make assertions against a remote web service (speed), and maybe
you want to work offline (convenience).

Enter pytest-httpbin. 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.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-test] [lang/py-six] [www/py-httpbin]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 702d6a99f7acc7867a8bc1c02783f6e71227aae4
RMD160: d0c36e029eb811f65de8162ce33e4d0d1b96a607
Filesize: 11.957 KB

Version history: (Expand)


CVS history: (Expand)


   2019-02-18 12:47:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-httpbin: updated to 1.0.0

v1.0.0:
Update included self-signed cert to include IP address in SAN. Full version bump \ 
because this could be a breaking change for those depending on the certificate \ 
missing the IP address in the SAN (as it seems the requests test suite does)
Only use @pytest.fixture decorator once
Fix a few README typos
   2018-05-23 12:59:08 by Adam Ciarcinski | Files touched by this commit (1) | Package updated
Log message:
py-test-httpbin: updated HOMEPAGE; removed unused DEPENDS
   2018-05-02 09:30:41 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-test-httpbin: added "python" to CATEGORIES
   2017-11-25 13:56:31 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-test-httpbin: update to 0.3.0.

    Allow to run httpbin on fixed port using environment variables (thanks @hroncok)
    Allow server to be thread.join()ed (thanks @graingert)
    Add support for Python 3.6 (thanks @graingert)

Add comment about test failure.
   2016-08-22 15:30:40 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-test-httpbin to 0.2.3.

Changes not found.
   2016-01-02 11:46:01 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py-test-httpbin-0.2.0 as www/py-test-httpbin.

httpbin is an amazing web service for testing HTTP libraries. It
has several great endpoints that can test pretty much everything
you need in a HTTP library. The only problem is: maybe you don't
want to wait for your tests to travel across the Internet and back
to make assertions against a remote web service (speed), and maybe
you want to work offline (convenience).

Enter pytest-httpbin. 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.