diff options
author | Tim Gates <tim.gates@iress.com> | 2022-11-01 06:57:12 +1100 |
---|---|---|
committer | Tim Gates <tim.gates@iress.com> | 2022-11-01 06:57:12 +1100 |
commit | f1784563e69296bd9e8e72d77afac1be47af748c (patch) | |
tree | 354d67745c6d95254b31adc090305fc7503ce1c8 | |
parent | 561ef780f695c3a602be7b49486eabde0832373c (diff) | |
download | webtest-f1784563e69296bd9e8e72d77afac1be47af748c.tar.gz |
docs: Fix a few typos
There are small typos in:
- webtest/http.py
- webtest/lint.py
Fixes:
- Should read `formatted` rather than `formated`.
- Should read `compliance` rather than `compliancy`.
Signed-off-by: Tim Gates <tim.gates@iress.com>
-rw-r--r-- | webtest/http.py | 2 | ||||
-rw-r--r-- | webtest/lint.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webtest/http.py b/webtest/http.py index 3d18ed2..37b6910 100644 --- a/webtest/http.py +++ b/webtest/http.py @@ -45,7 +45,7 @@ class StopableWSGIServer(TcpWSGIServer): """StopableWSGIServer is a TcpWSGIServer which run in a separated thread. This allow to use tools like casperjs or selenium. - Server instance have an ``application_url`` attribute formated with the + Server instance have an ``application_url`` attribute formatted with the server host and port. """ diff --git a/webtest/lint.py b/webtest/lint.py index a06fe6a..b5b2ecd 100644 --- a/webtest/lint.py +++ b/webtest/lint.py @@ -152,7 +152,7 @@ def middleware(application, global_conf=None): """ When applied between a WSGI server and a WSGI application, this - middleware will check for WSGI compliancy on a number of levels. + middleware will check for WSGI compliance on a number of levels. This middleware does not modify the request or response in any way, but will throw an AssertionError if anything seems off (except for a failure to close the application iterator, which |