Add testing script using twill for biblio and duonet

This commit is contained in:
root 2011-10-17 15:41:25 +02:00
parent d6af498ed7
commit b592a81c7e
6 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,10 @@
go http://biblio-sso.vincennes.fr/mandaye/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
show_cookies
find 'Associer une carte'
fv 1 username 754443
fv 1 password lecteur
submit
find 'Mon compte'

View File

@ -0,0 +1,10 @@
go http://biblio-sso.vincennes.fr/mandaye/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'Test \(754443\)'
go http://biblio-sso.vincennes.fr/mandaye/disassociate?username=754443
url https://biblio-sso.vincennes.fr/sezhame/
go http://biblio-sso.vincennes.fr/sezhame/logout
go http://biblio-sso.vincennes.fr/mandaye/connection
find 'Associer une carte'

5
twill/biblio-test.twill Normal file
View File

@ -0,0 +1,5 @@
go http://biblio-sso.vincennes.fr/mandaye/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'Mon compte'

View File

@ -0,0 +1,16 @@
config use_tidy 0
config use_BeautifulSoup 0
config allow_parse_errors 0
go https://conservatoire.vincennes.fr/
find 'vincennes/connection'
go https://conservatoire.vincennes.fr/vincennes/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'Associer un compte'
fv 1 username LAGAFFE
fv 1 birthdate 23/04/1991
fv 1 password 2012000086001
submit
find 'LAGAFFE Gaston'

View File

@ -0,0 +1,19 @@
config use_tidy 0
config use_BeautifulSoup 0
config allow_parse_errors 0
go https://conservatoire.vincennes.fr/
find 'vincennes/connection'
go https://conservatoire.vincennes.fr/vincennes/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'LAGAFFE Gaston'
go https://conservatoire.vincennes.fr/mandaye/disassociate?username=LAGAFFE
clear_cookies
go https://conservatoire.vincennes.fr/
find 'vincennes/connection'
go https://conservatoire.vincennes.fr/vincennes/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'Associer un compte'

View File

@ -0,0 +1,10 @@
config use_tidy 0
config use_BeautifulSoup 0
config allow_parse_errors 0
go https://conservatoire.vincennes.fr/
find 'vincennes/connection'
go https://conservatoire.vincennes.fr/vincennes/connection
fv 2 ident bdauvergne@entrouvert.com
fv 2 pwd eu1Ulida
submit
find 'LAGAFFE Gaston'