File: test-http-auth.twill

package info (click to toggle)
twill 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,472 kB
  • ctags: 1,916
  • sloc: python: 12,686; java: 98; makefile: 18; sh: 2
file content (11 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
# ok, try http basic auth
go /http_auth/
code 401

echo add_auth Protected __url__ test password
add_auth Protected __url__ test password

go /http_auth/
code 200
show
find "you made it!"