Commit dd281fcf authored by Eric Zheng's avatar Eric Zheng

fix mismatched parentheses in check_url_available tests

parent a38d2035
...@@ -162,7 +162,7 @@ class TestHandler(BaseHTTPServer.BaseHTTPRequestHandler): ...@@ -162,7 +162,7 @@ class TestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
# The encoding/decoding trick is necessary for compatibility with # The encoding/decoding trick is necessary for compatibility with
# Python 2 and 3. # Python 2 and 3.
key = b64encode(('%s:%s' % (TEST_GOOD_USERNAME, key = b64encode(('%s:%s' % (TEST_GOOD_USERNAME,
TEST_GOOD_PASSWORD).encode())).decode() TEST_GOOD_PASSWORD)).encode()).decode()
try: try:
authorization = self.headers['Authorization'] authorization = self.headers['Authorization']
except KeyError: except KeyError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment