forked from aurelien.plancke/ScodocTestClient
Compare commits
No commits in common. "master" and "master" have entirely different histories.
@ -146,9 +146,7 @@ class PythonOrgSearch(unittest.TestCase):
|
|||||||
def test_05_suppresion_etudiant(self):
|
def test_05_suppresion_etudiant(self):
|
||||||
driver = self.driver
|
driver = self.driver
|
||||||
urlRecherche = (
|
urlRecherche = (
|
||||||
"https://"
|
"https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
|
||||||
+ BASE_NOT_SECURED_URL
|
|
||||||
+ "ScoDoc/"
|
|
||||||
+ NOM_DPT
|
+ NOM_DPT
|
||||||
+ "/Scolarite/search_etud_in_dept"
|
+ "/Scolarite/search_etud_in_dept"
|
||||||
)
|
)
|
||||||
@ -159,9 +157,7 @@ class PythonOrgSearch(unittest.TestCase):
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
etudid = driver.find_element_by_id("euid")
|
etudid = driver.find_element_by_id("euid")
|
||||||
url = (
|
url = (
|
||||||
"https://"
|
"https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
|
||||||
+ BASE_NOT_SECURED_URL
|
|
||||||
+ "ScoDoc/"
|
|
||||||
+ NOM_DPT
|
+ NOM_DPT
|
||||||
+ "/Scolarite/etudident_delete?etudid="
|
+ "/Scolarite/etudident_delete?etudid="
|
||||||
+ etudid.text
|
+ etudid.text
|
||||||
|
@ -171,9 +171,7 @@ class PythonOrgSearch(unittest.TestCase):
|
|||||||
+ SCODOC_ADMIN_ID
|
+ SCODOC_ADMIN_ID
|
||||||
+ ":"
|
+ ":"
|
||||||
+ SCODOC_ADMIN_PASS
|
+ SCODOC_ADMIN_PASS
|
||||||
+ "@"
|
+ "@scodoc-dev-iutinfo.univ-lille.fr/force_admin_authentication"
|
||||||
+ BASE_NOT_SECURED_URL
|
|
||||||
+ "force_admin_authentication"
|
|
||||||
)
|
)
|
||||||
# driver.get(BASE_URL)
|
# driver.get(BASE_URL)
|
||||||
# driver.find_element_by_link_text("déconnecter").click()
|
# driver.find_element_by_link_text("déconnecter").click()
|
||||||
|
BIN
__pycache__/setting.cpython-37.pyc
Normal file
BIN
__pycache__/setting.cpython-37.pyc
Normal file
Binary file not shown.
@ -91,12 +91,3 @@ Celui ci est lancé automatiquement à la fin du script
|
|||||||
>./lancement_de_tout_les_tests.sh
|
>./lancement_de_tout_les_tests.sh
|
||||||
|
|
||||||
Vous y retrouverez les liens menant au détails de chaque rapport ainsi qu'un résumé du nombre de test passés/échoués
|
Vous y retrouverez les liens menant au détails de chaque rapport ainsi qu'un résumé du nombre de test passés/échoués
|
||||||
|
|
||||||
##Correctifs
|
|
||||||
|
|
||||||
* Modifier le PATH pour que geckodriver soit executable `export PATH=".:$PATH"`
|
|
||||||
|
|
||||||
* pip install HtmlTestRunner-Python3
|
|
||||||
|
|
||||||
* Créer un utilisateur Nom:BACH Prenom:Test User:Bach
|
|
||||||
|
|
||||||
|
@ -9,4 +9,4 @@ ssh $1 /bin/bash<< EOF
|
|||||||
cd /opt/scodoc/Products/ScoDoc/config
|
cd /opt/scodoc/Products/ScoDoc/config
|
||||||
./delete_dept.sh -n ${2}
|
./delete_dept.sh -n ${2}
|
||||||
EOF
|
EOF
|
||||||
ssh $1 'systemctl restart scodoc'
|
ssh $1 'systemctl restart ScoDoc.service'
|
@ -9,4 +9,4 @@ ssh $1 /bin/bash<< EOF
|
|||||||
cd /opt/scodoc/Products/ScoDoc/
|
cd /opt/scodoc/Products/ScoDoc/
|
||||||
scotests/scointeractive.sh -r ${2} scotests/${3}
|
scotests/scointeractive.sh -r ${2} scotests/${3}
|
||||||
EOF
|
EOF
|
||||||
ssh $1 'systemctl restart scodoc'
|
ssh $1 'systemctl restart ScoDoc.service'
|
||||||
|
Loading…
Reference in New Issue
Block a user