Skip to content

Commit

Permalink
Merge pull request #154 from vbanos/fix-brozzling-test
Browse files Browse the repository at this point in the history
Fix test_brozzling::httpd fixture
  • Loading branch information
nlevitt authored May 16, 2019
2 parents 5fdb2dd + a1f9122 commit 8107abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_brozzling.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def do_GET(self):
self.send_header('WWW-Authenticate', 'Basic realm=\"Test\"')
self.send_header('Content-type', 'text/html')
self.end_headers()
self.wfile.write(self.headers.getheader('Authorization'))
self.wfile.write('not authenticated')
self.wfile.write(self.headers.get('Authorization', b''))
self.wfile.write(b'not authenticated')
else:
super().do_GET()

Expand Down

0 comments on commit 8107abd

Please sign in to comment.