ajout .env

This commit is contained in:
Aurélien Plancke 2021-05-28 20:41:04 +02:00
parent ba68da71fd
commit 5299945287
11 changed files with 470 additions and 18 deletions

10
.env Normal file
View File

@ -0,0 +1,10 @@
BASE_URL = "https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
NOM_DPT = "test01"
SCODOC_ADMIN_ID = "admin"
SCODOC_ADMIN_PASS = "root_pass_42"
SCODOC_ENS_ID = "enseignantUS"
SCODOC_ENS_PASS = "enseignant@"
SCODOC_CHEF_ID = "chefdesetudesUS"
SCODOC_CHEF_PASS = "passwordUS42"
LINK_SCODOC_SERVER = "root@scodoc-dev-iutinfo.univ-lille.fr"
BASE_NOT_SECURED_URL = "scodoc-dev-iutinfo.univ-lille.fr/"

View File

@ -2,7 +2,14 @@
import unittest
import time
import subprocess
from setup import SCODOC_ADMIN_ID,SCODOC_ADMIN_PASS,BASE_URL,NOM_DPT,LINK_SCODOC_SERVER,BASE_NOT_SECURED_URL
from setting import (
SCODOC_ADMIN_ID,
SCODOC_ADMIN_PASS,
BASE_URL,
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
)
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
@ -10,7 +17,7 @@ from selenium.webdriver.support.select import Select
class PythonOrgSearch(unittest.TestCase):
cmdProcess = ['./scriptCreationDepartement.sh', LINK_SCODOC_SERVER, 'TESTCREATEDPT']
cmdProcess = ["./scriptCreationDepartement.sh", LINK_SCODOC_SERVER, "TESTCREATEDPT"]
process = subprocess.Popen(cmdProcess)
process.wait()
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
@ -56,15 +63,19 @@ class PythonOrgSearch(unittest.TestCase):
driver.find_element_by_id("DeleteDept").submit()
driver.get(BASE_URL)
self.assertTrue("TESTCREATEDPT" not in driver.page_source)
cmdProcess = ['./scriptDeleteDepartement.sh', LINK_SCODOC_SERVER, 'TESTCREATEDPT']
cmdProcess = [
"./scriptDeleteDepartement.sh",
LINK_SCODOC_SERVER,
"TESTCREATEDPT",
]
process = subprocess.Popen(cmdProcess)
process.wait()
# ferme la fenetre à chaque fin de test
def tearDown(self):
self.driver.close()
if __name__ == "__main__":
unittest.main()

View File

@ -2,7 +2,7 @@
import unittest
import time
import subprocess
from setup import (
from setting import (
SCODOC_ADMIN_ID,
SCODOC_ADMIN_PASS,
BASE_URL,

View File

@ -1,7 +1,7 @@
import unittest
import time
import subprocess
from setup import (
from setting import (
SCODOC_ADMIN_ID,
SCODOC_ADMIN_PASS,
BASE_URL,
@ -132,7 +132,6 @@ class PythonOrgSearch(unittest.TestCase):
semestres = driver.find_elements_by_xpath(
"//a[contains(@id,'inscription_Semestre_')]"
)
print(semestres)
except NoSuchElementException:
self.assertFalse(True)
semestres[0].click()

View File

@ -1,7 +1,15 @@
import unittest
import time
import urllib.parse as urlparse
from setup import SCODOC_ADMIN_ID, SCODOC_ADMIN_PASS, BASE_URL, NOM_DPT
import subprocess
from setting import (
SCODOC_ADMIN_ID,
SCODOC_ADMIN_PASS,
BASE_URL,
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
)
from urllib.parse import parse_qs
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
@ -10,6 +18,8 @@ from selenium.webdriver.support.ui import Select, WebDriverWait
from selenium.webdriver.support.select import Select
URL = BASE_URL + NOM_DPT + "/Scolarite"
NOM_ETU = "Semestre1"
PRENOM_ETU = "EtudiantNumero1"
class PythonOrgSearch(unittest.TestCase):
@ -39,18 +49,25 @@ class PythonOrgSearch(unittest.TestCase):
)
global URL
self.driver.get(URL)
def test_010_trouver_etudiant(self):
driver = self.driver
driver.implicitly_wait(10)
url = BASE_URL + NOM_DPT + "/Scolarite/Absences/search_etud_in_dept"
driver.get(url)
element = driver.find_element_by_name("expnom")
element.send_keys(nomEtu)
global URL
self.driver.get(BASE_URL + NOM_DPT + "/Scolarite")
element = self.driver.find_element_by_id("in-expnom")
element.send_keys(NOM_ETU)
element.submit()
self.wait.until(EC.url_changes(URL))
driver.find_element_by_xpath("//a[contains(text(),'Etudiantnumero1')]").click()
time.sleep(5)
URL = driver.current_url
self.assertTrue(NOM_ETU in driver.page_source)
# Test : creer une absence non justifiée
# @expected : La fiche étudiante est incrémentée avec le nombre d'absence injustifiée correspondant
def test_ajout_absence_non_justifiee(self):
def test_020_ajout_absence_non_justifiee(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Ajouter").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceNonJustifiee)
driver.find_element_by_id("butsubmit").submit()
@ -72,6 +89,7 @@ class PythonOrgSearch(unittest.TestCase):
# @expected : La fiche d'information de l'étudiant concerné à son compteur d'absence augmenté de 2
def test_ajout_absence_justifiee(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Ajouter").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_name("estjust").click()
@ -91,6 +109,7 @@ class PythonOrgSearch(unittest.TestCase):
# @expected : Le champs des absences non justifiées diminue et celui des justifiés augmente du nombre d'absence
def test_ajout_justification(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Justifier").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_name("description").send_keys("Un test selenium")
@ -111,6 +130,7 @@ class PythonOrgSearch(unittest.TestCase):
# @expected : Les compteurs d'absences sont remplacés par "Pas d'absences"
def test_supprimer_absence(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Supprimer").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_xpath("//input[@value='Supprimer les absences']").click()

View File

@ -1,7 +1,7 @@
import unittest
import time
import urllib.parse as urlparse
from setup import (
from setting import (
SCODOC_ADMIN_ID,
SCODOC_ADMIN_PASS,
BASE_URL,

Binary file not shown.

395
geckodriver.log Normal file
View File

@ -0,0 +1,395 @@
1622186259317 geckodriver INFO Listening on 127.0.0.1:42579
1622186260311 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilef2AFYZ"
1622186265717 Marionette INFO Listening on port 43429
1622186265762 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186270265 Marionette INFO Stopped listening on port 43429
1622186274047 geckodriver INFO Listening on 127.0.0.1:48697
1622186275051 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile2UxtxW"
1622186279542 Marionette INFO Listening on port 36227
1622186279641 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186283606 Marionette INFO Stopped listening on port 36227
1622186289335 geckodriver INFO Listening on 127.0.0.1:35223
1622186290338 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileVAM3AQ"
1622186293302 Marionette INFO Listening on port 37095
1622186293343 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186298944 Marionette INFO Stopped listening on port 37095
1622186302685 geckodriver INFO Listening on 127.0.0.1:45495
1622186303689 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiledVYT9T"
1622186307091 Marionette INFO Listening on port 42191
1622186307165 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186312426 Marionette INFO Stopped listening on port 42191
1622186318135 geckodriver INFO Listening on 127.0.0.1:35283
1622186319140 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile8krSzL"
1622186322224 Marionette INFO Listening on port 41713
1622186322313 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186329559 Marionette INFO Stopped listening on port 41713
1622186545059 geckodriver INFO Listening on 127.0.0.1:33197
1622186546063 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLpqLqn"
1622186550548 Marionette INFO Listening on port 38203
1622186550612 Marionette WARN TLS certificate errors will be ignored for this session
1622186550715 geckodriver INFO Listening on 127.0.0.1:45775
1622186551716 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilebpOIx2"
1622186557229 Marionette INFO Listening on port 45123
1622186557301 Marionette WARN TLS certificate errors will be ignored for this session
1622186557672 geckodriver INFO Listening on 127.0.0.1:43173
1622186558676 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSPDL3D"
1622186564571 Marionette INFO Listening on port 39439
1622186564650 Marionette WARN TLS certificate errors will be ignored for this session
1622186564730 geckodriver INFO Listening on 127.0.0.1:44127
1622186565732 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileRnPRMs"
1622186573361 Marionette INFO Listening on port 38141
1622186573431 Marionette WARN TLS certificate errors will be ignored for this session
1622186591555 geckodriver INFO Listening on 127.0.0.1:47563
1622186592560 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSzj9ZS"
1622186596712 Marionette INFO Listening on port 35305
1622186596734 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186598996 geckodriver INFO Listening on 127.0.0.1:58387
1622186599999 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileX33Mt8"
1622186605847 Marionette INFO Listening on port 32997
1622186605865 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186608294 geckodriver INFO Listening on 127.0.0.1:45867
1622186609283 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile7LvtPA"
1622186615254 Marionette INFO Listening on port 35907
1622186615350 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186617594 geckodriver INFO Listening on 127.0.0.1:46863
1622186618589 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileWJ8Uj7"
1622186623497 Marionette INFO Listening on port 42093
1622186623558 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186661393 geckodriver INFO Listening on 127.0.0.1:55113
1622186662397 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileZwYJA6"
1622186666737 Marionette INFO Listening on port 39173
1622186666757 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186669027 Marionette INFO Stopped listening on port 39173
1622186672913 geckodriver INFO Listening on 127.0.0.1:57481
1622186673916 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilem4SWHK"
1622186678527 Marionette INFO Listening on port 38413
1622186678620 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186682865 Marionette INFO Stopped listening on port 38413
1622186690473 geckodriver INFO Listening on 127.0.0.1:55973
1622186691478 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilegeIu4j"
1622186696075 Marionette INFO Listening on port 40931
1622186696180 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186698423 Marionette INFO Stopped listening on port 40931
1622186707080 geckodriver INFO Listening on 127.0.0.1:46479
1622186708083 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileBFJozT"
1622186714106 Marionette INFO Listening on port 35383
1622186714217 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186716872 Marionette INFO Stopped listening on port 35383
1622186742174 Marionette INFO Stopped listening on port 42093
1622186742561 Marionette INFO Stopped listening on port 35907
1622186742904 Marionette INFO Stopped listening on port 32997
1622186743270 Marionette INFO Stopped listening on port 35305
1622186743617 Marionette INFO Stopped listening on port 38141
1622186743993 Marionette INFO Stopped listening on port 39439
1622186744380 Marionette INFO Stopped listening on port 45123
1622186744846 Marionette INFO Stopped listening on port 38203
1622186802625 geckodriver INFO Listening on 127.0.0.1:57427
1622186803629 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXwAOJ3"
1622186807283 Marionette INFO Listening on port 34473
1622186807337 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186808562 geckodriver INFO Listening on 127.0.0.1:34519
1622186809563 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileJ9ZXXv"
1622186812643 Marionette INFO Listening on port 37927
1622186812729 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186814572 geckodriver INFO Listening on 127.0.0.1:36187
1622186815573 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile6Xco4n"
console.warn: services.settings: main/fxmonitor-breaches sync interrupted by shutdown
console.warn: services.settings: main/cfr-fxa sync interrupted by shutdown
console.warn: services.settings: main/cfr sync interrupted by shutdown
console.warn: services.settings: main/whats-new-panel sync interrupted by shutdown
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
console.error: Region.jsm: "Failed to fetch region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622186842357 geckodriver INFO Listening on 127.0.0.1:38823
1622186843361 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileorjqIE"
1622186847029 Marionette INFO Listening on port 42897
1622186847061 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186848632 geckodriver INFO Listening on 127.0.0.1:52273
1622186849633 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile91vRiU"
1622186853850 Marionette INFO Listening on port 46499
1622186853930 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186855218 geckodriver INFO Listening on 127.0.0.1:37941
1622186856221 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileq9cshH"
1622186861785 Marionette INFO Listening on port 42451
1622186861857 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186863554 geckodriver INFO Listening on 127.0.0.1:33817
1622186864557 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileErtI5V"
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622186892262 geckodriver INFO Listening on 127.0.0.1:47883
1622186893265 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilew6Km3x"
1622186896436 Marionette INFO Listening on port 45197
1622186896468 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186899388 Marionette INFO Stopped listening on port 45197
1622186906201 geckodriver INFO Listening on 127.0.0.1:34105
1622186907205 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilevlK0Vf"
1622186910918 Marionette INFO Listening on port 33933
1622186910997 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186913332 Marionette INFO Stopped listening on port 33933
1622186923307 geckodriver INFO Listening on 127.0.0.1:33083
1622186924309 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilenBj3Zf"
1622186928492 Marionette INFO Listening on port 42949
1622186928503 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186931193 Marionette INFO Stopped listening on port 42949
1622186936039 geckodriver INFO Listening on 127.0.0.1:34407
1622186937037 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilePADAJ7"
1622186980162 geckodriver INFO Listening on 127.0.0.1:45109
1622186981167 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilefr7Pio"
1622186984682 Marionette INFO Listening on port 34715
1622186984773 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186987326 Marionette INFO Stopped listening on port 34715
1622186993114 geckodriver INFO Listening on 127.0.0.1:48811
1622186994119 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilevs7QOK"
1622186997318 Marionette INFO Listening on port 39291
1622186997381 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622186999828 Marionette INFO Stopped listening on port 39291
1622187005686 geckodriver INFO Listening on 127.0.0.1:55329
1622187006688 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileogulpS"
1622187009799 Marionette INFO Listening on port 39623
1622187009856 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622187012719 Marionette INFO Stopped listening on port 39623
1622187018776 geckodriver INFO Listening on 127.0.0.1:43085
1622187019776 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSe7VIs"
1622187024138 Marionette INFO Listening on port 44657
1622187024184 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622187026894 Marionette INFO Stopped listening on port 44657
1622191319138 geckodriver INFO Listening on 127.0.0.1:49439
1622191320141 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileaPM0T9"
1622191324486 Marionette INFO Listening on port 43729
1622191324575 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622191326128 Marionette INFO Stopped listening on port 43729
1622191334800 geckodriver INFO Listening on 127.0.0.1:40511
1622191335799 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileruqvpl"
1622191338995 Marionette INFO Listening on port 38959
1622191339078 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc//create_dept?DeptId=TESTCREATEDPT, line 52: ReferenceError: $ is not defined
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622191342860 Marionette INFO Stopped listening on port 38959
1622191352748 geckodriver INFO Listening on 127.0.0.1:52757
1622191353751 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLKH6cl"
1622191356881 Marionette INFO Listening on port 42555
1622191356977 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622191362906 Marionette INFO Stopped listening on port 42555
1622205483020 geckodriver INFO Listening on 127.0.0.1:54941
1622205484031 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileeUVEXa"
1622205489717 Marionette INFO Listening on port 42739
1622205489766 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622205492277 Marionette INFO Stopped listening on port 42739
1622205498525 geckodriver INFO Listening on 127.0.0.1:49091
1622205499528 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilexbY2sF"
1622205505658 Marionette INFO Listening on port 46537
1622205505730 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622205509819 Marionette INFO Stopped listening on port 46537
1622205515952 geckodriver INFO Listening on 127.0.0.1:39363
1622205516955 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile9iMUkl"
1622206710154 geckodriver INFO Listening on 127.0.0.1:34801
1622206711161 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilexhkxMI"
1622206716770 Marionette INFO Listening on port 33089
1622206716833 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206724804 Marionette INFO Stopped listening on port 33089
1622206729051 geckodriver INFO Listening on 127.0.0.1:60621
1622206730055 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileqNyCJw"
1622206737982 Marionette INFO Listening on port 33745
1622206738273 Marionette WARN TLS certificate errors will be ignored for this session
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622206747670 geckodriver INFO Listening on 127.0.0.1:39959
1622206748680 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileaAi7WN"
1622206754538 Marionette INFO Listening on port 39151
1622206754615 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206762393 Marionette INFO Stopped listening on port 39151
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622206775886 geckodriver INFO Listening on 127.0.0.1:55963
1622206776892 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileCxSKyB"
1622206782352 Marionette INFO Listening on port 46069
1622206782419 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206790174 Marionette INFO Stopped listening on port 46069
1622206796204 geckodriver INFO Listening on 127.0.0.1:59153
1622206797212 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXVDIFH"
1622206807411 Marionette INFO Listening on port 45653
1622206807435 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206809694 Marionette INFO Stopped listening on port 45653
1622206814794 geckodriver INFO Listening on 127.0.0.1:60519
1622206815799 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiles2MJM7"
1622206821986 Marionette INFO Listening on port 33995
1622206822087 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206824274 Marionette INFO Stopped listening on port 33995
1622206829637 geckodriver INFO Listening on 127.0.0.1:35571
1622206830641 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLtUuLq"
1622206835522 Marionette INFO Listening on port 44709
1622206835567 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206838001 Marionette INFO Stopped listening on port 44709
1622206842460 geckodriver INFO Listening on 127.0.0.1:53227
1622206843463 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXyam4d"
1622206850269 Marionette INFO Listening on port 46299
1622206850335 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206852466 Marionette INFO Stopped listening on port 46299
1622206863820 geckodriver INFO Listening on 127.0.0.1:60781
1622206864825 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKrmRnW"
1622206873140 Marionette INFO Listening on port 40863
1622206873233 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206882433 Marionette INFO Stopped listening on port 40863
1622206888823 geckodriver INFO Listening on 127.0.0.1:53273
1622206903581 geckodriver INFO Listening on 127.0.0.1:57285
1622206904587 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileT0zuhO"
1622206909724 Marionette INFO Listening on port 44005
1622206909798 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206933528 Marionette INFO Stopped listening on port 44005
1622206938811 geckodriver INFO Listening on 127.0.0.1:37617
1622206939819 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileyoTAV3"
1622206948437 Marionette INFO Listening on port 42345
1622206948524 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206953687 Marionette INFO Stopped listening on port 42345
1622206960415 geckodriver INFO Listening on 127.0.0.1:60275
1622206961419 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileDiEFxY"
1622206969682 Marionette INFO Listening on port 35179
1622206969750 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206972558 Marionette INFO Stopped listening on port 35179
1622206977724 geckodriver INFO Listening on 127.0.0.1:57095
1622206978729 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXmRdjr"
1622206984200 Marionette INFO Listening on port 34529
1622206984274 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622206986542 Marionette INFO Stopped listening on port 34529
1622206992958 geckodriver INFO Listening on 127.0.0.1:38837
1622206993963 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile4oaVIK"
1622207000008 Marionette INFO Listening on port 43471
1622207000131 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207002499 Marionette INFO Stopped listening on port 43471
1622207155263 geckodriver INFO Listening on 127.0.0.1:49933
1622207156273 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileHx2FXE"
1622207161308 Marionette INFO Listening on port 40463
1622207161332 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207175305 Marionette INFO Stopped listening on port 40463
1622207179420 geckodriver INFO Listening on 127.0.0.1:56133
1622207180427 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile8jnMAs"
1622207186915 Marionette INFO Listening on port 44071
1622207187011 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207188989 Marionette INFO Stopped listening on port 44071
1622207196431 geckodriver INFO Listening on 127.0.0.1:33769
1622207197438 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileHW6v14"
1622207206010 Marionette INFO Listening on port 46133
1622207206134 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207209025 Marionette INFO Stopped listening on port 46133
1622207214528 geckodriver INFO Listening on 127.0.0.1:45309
1622207215535 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileJnDAuT"
1622207220319 Marionette INFO Listening on port 34771
1622207220381 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207222622 Marionette INFO Stopped listening on port 34771
1622207227746 geckodriver INFO Listening on 127.0.0.1:37159
1622207228753 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilesJwAmt"
1622207233500 Marionette INFO Listening on port 37969
1622207233561 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207235617 Marionette INFO Stopped listening on port 37969
1622207272128 geckodriver INFO Listening on 127.0.0.1:54289
1622207273142 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileoNdcVK"
1622207278259 Marionette INFO Listening on port 44937
1622207278296 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207287219 Marionette INFO Stopped listening on port 44937
1622207293376 geckodriver INFO Listening on 127.0.0.1:48203
1622207294381 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileZQloln"
1622207300111 Marionette INFO Listening on port 41337
1622207300167 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207303377 Marionette INFO Stopped listening on port 41337
1622207309642 geckodriver INFO Listening on 127.0.0.1:38913
1622207310645 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileGyPryI"
1622207316331 Marionette INFO Listening on port 42375
1622207316360 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207319397 Marionette INFO Stopped listening on port 42375
1622207321607 geckodriver INFO Listening on 127.0.0.1:34577
1622207322611 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiled1gacX"
1622207327997 Marionette INFO Listening on port 39447
1622207328050 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207330947 Marionette INFO Stopped listening on port 39447
1622207337207 geckodriver INFO Listening on 127.0.0.1:49735
1622207338211 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileue1wRw"
1622207343783 Marionette INFO Listening on port 44837
1622207343849 Marionette WARN TLS certificate errors will be ignored for this session
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622207346967 Marionette INFO Stopped listening on port 44837

0
readme.md Normal file
View File

17
setting.py Normal file
View File

@ -0,0 +1,17 @@
import os
from os.path import join, dirname
from dotenv import load_dotenv
dotenv_path = join(dirname(__file__), ".env")
load_dotenv(dotenv_path)
BASE_URL = os.environ.get("BASE_URL")
NOM_DPT = os.environ.get("NOM_DPT")
SCODOC_ADMIN_ID = os.environ.get("SCODOC_ADMIN_ID")
SCODOC_ADMIN_PASS = os.environ.get("SCODOC_ADMIN_PASS")
SCODOC_ENS_ID = os.environ.get("SCODOC_ENS_ID")
SCODOC_ENS_PASS = os.environ.get("SCODOC_ENS_PASS")
SCODOC_CHEF_ID = os.environ.get("SCODOC_CHEF_ID")
SCODOC_CHEF_PASS = os.environ.get("SCODOC_CHEF_PASS")
LINK_SCODOC_SERVER = os.environ.get("LINK_SCODOC_SERVER")
BASE_NOT_SECURED_URL = os.environ.get("BASE_NOT_SECURED_URL")