|
1 |
| -At the moment this package is not actively maintained and its future is somewhat |
2 |
| -uncertain. If you would be interested in maintaining or co-maintaining it, |
3 |
| -please contribute to the discussion at |
4 |
| -https://github.com/pytest-dev/pytest/issues/7857. |
5 |
| - |
6 | 1 | ==================
|
7 | 2 | pytest-localserver
|
8 | 3 | ==================
|
@@ -82,10 +77,10 @@ poking around in the code itself.
|
82 | 77 | * ``headers`` - response headers (dict)
|
83 | 78 |
|
84 | 79 | Once these attribute are set, all subsequent requests will be answered with
|
85 |
| - these values until they are changed or the server is stopped. A more |
| 80 | + these values until they are changed or the server is stopped. A more |
86 | 81 | convenient way to change these is ::
|
87 | 82 |
|
88 |
| - httpserver.serve_content(content=None, code=200, headers=None) |
| 83 | + httpserver.serve_content(content=None, code=200, headers=None) |
89 | 84 |
|
90 | 85 | The server address can be found in property
|
91 | 86 |
|
@@ -162,12 +157,12 @@ License and Credits
|
162 | 157 | This plugin is released under the MIT license. You can find the full text of
|
163 | 158 | the license in the LICENSE file.
|
164 | 159 |
|
165 |
| -Copyright (C) 2010-2013 Sebastian Rahlf and others (see AUTHORS). |
| 160 | +Copyright (C) 2010-2021 Sebastian Rahlf and others (see AUTHORS). |
166 | 161 |
|
167 | 162 | Some parts of this package is based on ideas or code from other people:
|
168 | 163 |
|
169 | 164 | - I borrowed some implementation ideas for the httpserver from `linkchecker`_.
|
170 |
| -- The implementation for the SMTP server is based on the `Mailsink recipe`_ by |
| 165 | +- The implementation for the SMTP server is based on the `Mailsink recipe`_ by |
171 | 166 | Adam Feuer, Matt Branthwaite and Troy Frever.
|
172 | 167 | - The HTTPS implementation is based on work by `Sebastien Martini`_.
|
173 | 168 |
|
@@ -196,7 +191,7 @@ I already have a couple of ideas for future versions:
|
196 | 191 |
|
197 | 192 | .. [1] The idea for this project was born when I needed to check that `a piece
|
198 | 193 | of software`_ behaved itself when receiving HTTP error codes 404 and 500.
|
199 |
| - Having unsuccessfully tried to mock a server, I stumbled across |
| 194 | + Having unsuccessfully tried to mock a server, I stumbled across |
200 | 195 | `linkchecker`_ which uses a the same idea to test its internals.
|
201 | 196 |
|
202 | 197 | .. _monkeypatching: http://pytest.org/latest/monkeypatch.html
|
|
0 commit comments