Skip to content

Commit

Permalink
docs: Fix simple typo, garaunteed -> guaranteed
Browse files Browse the repository at this point in the history
There is a small typo in tests/decorator/test_origins.py, tests/extension/test_app_extension.py.

Should read `guaranteed` rather than `garaunteed`.
  • Loading branch information
timgates42 authored and corydolphin committed Mar 28, 2020
1 parent 566aef2 commit 5c6e05e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/decorator/test_origins.py
Expand Up @@ -140,7 +140,7 @@ def test_set_serialized(self):
resp = self.get('/test_set', origin='http://bar.com')

allowed = resp.headers.get(ACL_ORIGIN)
# Order is not garaunteed
# Order is not guaranteed
self.assertEqual(allowed, 'http://bar.com')

def test_not_matching_origins(self):
Expand Down Expand Up @@ -180,7 +180,7 @@ def test_regex_mixed_list(self):
or '?') will be skipped.
Thus, the list of returned Access-Control-Allow-Origin header
is garaunteed to be 'null', the origin or "*", as per the w3
is guaranteed to be 'null', the origin or "*", as per the w3
http://www.w3.org/TR/cors/#access-control-allow-origin-response-header
'''
Expand Down
4 changes: 2 additions & 2 deletions tests/extension/test_app_extension.py
Expand Up @@ -109,7 +109,7 @@ def test_set_serialized(self):
resp = self.get('/test_set', origin='http://bar.com')

allowed = resp.headers.get(ACL_ORIGIN)
# Order is not garaunteed
# Order is not guaranteed
self.assertEqual(allowed, 'http://bar.com')

def test_not_matching_origins(self):
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_regex_mixed_list(self):
or '?') will be skipped.
Thus, the list of returned Access-Control-Allow-Origin header
is garaunteed to be 'null', the origin or "*", as per the w3
is guaranteed to be 'null', the origin or "*", as per the w3
http://www.w3.org/TR/cors/#access-control-allow-origin-response-header
'''
Expand Down

0 comments on commit 5c6e05e

Please sign in to comment.