./devel/py-test-localserver, Py.test plugin to test server connections locally

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


Branch: CURRENT, Version: 0.9.0, Package name: py312-test-localserver-0.9.0, Maintainer: pkgsrc-users

pytest-localserver is a plugin for the pytest testing framework which
enables you to test server connections locally.

Sometimes monkeypatching urllib2.urlopen() just does not cut it, for
instance if you work with urllib2.Request, define your own
openers/handlers or work with httplib. In these cases it may come in
handy to have an HTTP server running locally which behaves just like the
real thing.


Required to run:
[devel/py-setuptools] [www/py-werkzeug] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 29.514 KB

Version history: (Expand)


CVS history: (Expand)


   2024-08-20 15:23:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-localserver: updated to 0.9.0

0.9.0 (2024-08-13)

Add support for exposing server certificate
Explicitly store request data
Make the code compliant with pre-commit hooks
Remove unused `six` from tox config
Drop Python 3.5 support
Add Python 3.13 support
Update the AUTHORS file
   2023-10-12 09:18:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-localserver: updated to 0.8.1

0.8.1 (2023-09-23)
------------------

Ignore AttributeError when shutting down server
Add support for Python 3.12 (or at least, list it explicitly in the classifiers)
Update the AUTHORS file
   2023-07-17 10:57:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-localserver: updated to 0.8.0

0.8.0 (2023-07-14)
------------------

Improve deployment workflow to use trusted publishing and upload to Test PyPI first
Remove a bunch of obsolete code
Clean up the smtp module's driver code
   2022-10-25 09:06:14 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-test-localserver: needs py-setuptools_scm to build
   2022-10-21 19:48:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-localserver: updated to 0.7.0

0.7.0 (2022-08-30)
------------------
Make smtp support an optional extra
Update some obsolete syntax to drop support for Python 2
Add linting for code and workflow actions using pre-commit hooks
Expand the range of pytest versions known to be compatible, with tests
Add badges to README
   2022-04-30 01:14:02 by Thomas Klausner | Files touched by this commit (3)
Log message:
*: mark some py-werkzeug dependencies as not-for-python-2.x
   2022-01-07 17:44:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-localserver: updated to 0.5.1

0.5.1 (2021-11-18)
------------------
Regenerate included certificate to use SHA-256 hash to avoid OpenSSL errors.
Add support for Python 3.10.
Drop support for Python 2.6.
Migrate repository to Github and update project metadata.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS