devel/py-test-localserver 0.10.0 NetBSD
Py.test plugin to test server connections locally
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
- Package size
- 24.6 KiB, 86.4 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-test-localserver | 0.10.0 |
| OpenBSD | devel/py-test-localserver | 0.10.0p0 |
Install
Binary package:
pkgin install py311-test-localserver
From pkgsrc:
cd /usr/pkgsrc/devel/py-test-localserver && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.10.0 |
| NetBSD 10.1 aarch64 | 0.10.0 |
| SmartOS / illumos x86_64 | 0.10.0 |
| macOS 15 arm64 | 0.10.0 |
Dependencies
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-test-localserver-0.10.0,py313-test-localserver-0.10.0,py314-test-localserver-0.10.0