From f1784563e69296bd9e8e72d77afac1be47af748c Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 1 Nov 2022 06:57:12 +1100 Subject: 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 --- webtest/http.py | 2 +- 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 -- cgit v1.2.1