Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7bb0668

Browse filesBrowse files
ng95junweijoshfriend
authored andcommitted
Fix typo in test case
Just a bug I caught while reading through the test code. Changed `WWW-Autheneticate` to `WWW-Authenticate`
1 parent f45e81a commit 7bb0668
Copy full SHA for 7bb0668

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tests/test_api.py‎

Copy file name to clipboardExpand all lines: tests/test_api.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_handle_error_401_no_challenge_by_default(self):
9191
with app.test_request_context('/foo'):
9292
resp = api.handle_error(Unauthorized())
9393
self.assertEquals(resp.status_code, 401)
94-
assert_false('WWW-Autheneticate' in resp.headers)
94+
assert_false('WWW-Authenticate' in resp.headers)
9595

9696
def test_handle_error_401_sends_challege_default_realm(self):
9797
app = Flask(__name__)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.