Commit ae6da143 authored by Eric Zheng's avatar Eric Zheng

fix expected result in test_check_authenticate_bad_password

parent 39ab9ed4
......@@ -583,8 +583,11 @@ class TestCheckUrlAvailable(CheckUrlAvailableMixin):
self.assertEqual(result['result']['failed'], True)
self.assertEqual(
result['result']['message'],
# The first request checks the actual credentials (which should
# fail). The second request checks that the server responds with a
# 401 when no credentials are supplied (which succeeds).
("%r is not available (returned 401, expected 200).\n" + \
"%r is not available (returned 401, expected 200).") % (url, url)
"%r is available") % (url, url)
)
# Test authentication failure due to the server not requiring any
......
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