tests/test-hgweb-auth.py.out
changeset 40663 c53f0ead5781
parent 37940 31c37e703cee
child 46907 ffd3e823a7e5
equal deleted inserted replaced
40662:93e5d18251d6 40663:c53f0ead5781
   188      ('y', 'ypassword')
   188      ('y', 'ypassword')
   189 CFG: {b'x.password': b'xpassword', b'x.prefix': b'http://example.org/foo/bar', b'x.username': None, b'y.password': b'ypassword', b'y.prefix': b'http://example.org/foo', b'y.username': b'y'}
   189 CFG: {b'x.password': b'xpassword', b'x.prefix': b'http://example.org/foo/bar', b'x.username': None, b'y.password': b'ypassword', b'y.prefix': b'http://example.org/foo', b'y.username': b'y'}
   190 URI: http://y@example.org/foo/bar
   190 URI: http://y@example.org/foo/bar
   191      ('y', 'xpassword')
   191      ('y', 'xpassword')
   192 
   192 
       
   193 *** Test user matching with name in prefix
       
   194 
       
   195 CFG: {b'x.password': b'xpassword', b'x.prefix': b'https://example.org/foo', b'x.username': None, b'y.password': b'ypassword', b'y.prefix': b'http://y@example.org/foo', b'y.username': b'y'}
       
   196 URI: http://y@example.org/foo
       
   197      ('y', 'ypassword')
       
   198 CFG: {b'y.password': b'ypassword', b'y.prefix': b'http://z@example.org/foo', b'y.username': b'y'}
       
   199 URI: http://y@example.org/foo
       
   200      abort
       
   201 CFG: {b'y.password': b'ypassword', b'y.prefix': b'http://z@example.org/foo'}
       
   202 URI: http://y@example.org/foo
       
   203      abort
       
   204 CFG: {b'y.password': b'ypassword', b'y.prefix': b'http://y@example.org/foo', b'y.username': b'z'}
       
   205 URI: http://y@example.org/foo
       
   206      abort
       
   207 CFG: {b'y.password': b'ypassword', b'y.prefix': b'http://y@example.org/foo'}
       
   208 URI: http://y@example.org/foo
       
   209      ('y', 'ypassword')
       
   210 CFG: {b'y.password': b'ypassword', b'y.prefix': b'http://y@example.org/foo'}
       
   211 URI: http://example.org/foo
       
   212      abort
       
   213 
   193 *** Test urllib2 and util.url
   214 *** Test urllib2 and util.url
   194 
   215 
   195 URIs: http://user@example.com:8080/foo http://example.com:8080/foo
   216 URIs: http://user@example.com:8080/foo http://example.com:8080/foo
   196 ('user', '')
   217 ('user', '')