def test_enleverInformation(self): """Teste le retrait d'une information si elle existe""" c1 = Creneau(45, Horaire(18, 25)) c1.ajouterInformation("TEST", "bonjour les amis") c1.ajouterInformation("ENCORE_TEST", "a plus les amis") c1.enleverInformation("ENCORE_TEST") self.assertFalse(c1.existe("ENCORE_TEST"))