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