CMD + K

pytest-localserver

Anaconda Verified

pytest plugin to test server connections locally.

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::pytest-localserver

Usage Tracking

0.10.0
0.9.0.post0
0.5.0
3 / 8 versions selected
Downloads (Last 6 months): 0

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 [1]. Well, look no further!

About

Summary

pytest plugin to test server connections locally.

Last Updated

Jan 2, 2026 at 13:07

License

MIT

Total Downloads

1.0K

Supported Platforms

macOS-arm64
linux-64
linux-aarch64
win-64

Unsupported Platforms

noarch Last supported version: 0.5.0
macOS-64 Last supported version: 0.9.0.post0