forked from aurelien.plancke/ScodocTestClient
commit
This commit is contained in:
parent
d9e48101d7
commit
a9a90828e4
@ -310,9 +310,10 @@ class PythonOrgSearch(unittest.TestCase):
|
|||||||
if "UE11" in ueListText:
|
if "UE11" in ueListText:
|
||||||
affichageMoyenne = False
|
affichageMoyenne = False
|
||||||
elif numeroEtu == 1:
|
elif numeroEtu == 1:
|
||||||
moyEtudiant2 = float(MOY_UE1) * COEFF_UE1 + (
|
moyEtudiant2 = (
|
||||||
float(MOY_UE2) - float(moyenneBonusEtudiant2)
|
float(MOY_UE1) * COEFF_UE1
|
||||||
) * COEFF_UE2 / (COEFF_UE1 + COEFF_UE2)
|
+ (float(MOY_UE2) - float(moyenneBonusEtudiant2)) * COEFF_UE2
|
||||||
|
) / (COEFF_UE1 + COEFF_UE2)
|
||||||
if moyEtudiant2 != float(
|
if moyEtudiant2 != float(
|
||||||
driver.find_element_by_class_name("rcp_moy").text
|
driver.find_element_by_class_name("rcp_moy").text
|
||||||
):
|
):
|
||||||
@ -320,8 +321,6 @@ class PythonOrgSearch(unittest.TestCase):
|
|||||||
if "UE11" not in ueListText:
|
if "UE11" not in ueListText:
|
||||||
affichageMoyenne = False
|
affichageMoyenne = False
|
||||||
numeroEtu = numeroEtu + 1
|
numeroEtu = numeroEtu + 1
|
||||||
print(moyenneBonne)
|
|
||||||
print(affichageMoyenne)
|
|
||||||
self.assertTrue(moyenneBonne and affichageMoyenne)
|
self.assertTrue(moyenneBonne and affichageMoyenne)
|
||||||
|
|
||||||
# def test_070_note_attente(self):
|
# def test_070_note_attente(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user