Skip to content

Commit 5c6e05e

Browse files
timgates42corydolphin
authored andcommitted
docs: Fix simple typo, garaunteed -> guaranteed
There is a small typo in tests/decorator/test_origins.py, tests/extension/test_app_extension.py. Should read `guaranteed` rather than `garaunteed`.
1 parent 566aef2 commit 5c6e05e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/decorator/test_origins.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_set_serialized(self):
140140
resp = self.get('/test_set', origin='http://bar.com')
141141

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

146146
def test_not_matching_origins(self):
@@ -180,7 +180,7 @@ def test_regex_mixed_list(self):
180180
or '?') will be skipped.
181181
182182
Thus, the list of returned Access-Control-Allow-Origin header
183-
is garaunteed to be 'null', the origin or "*", as per the w3
183+
is guaranteed to be 'null', the origin or "*", as per the w3
184184
http://www.w3.org/TR/cors/#access-control-allow-origin-response-header
185185
186186
'''

tests/extension/test_app_extension.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_set_serialized(self):
109109
resp = self.get('/test_set', origin='http://bar.com')
110110

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

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

0 commit comments

Comments
 (0)