File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33"""
44
55import pytest
6+ from os .path import abspath
67from parse .fichier_log_apache import FichierLogApache
78from analyse .filtre_log_apache import FiltreLogApache
89from analyse .analyseur_log_apache import AnalyseurLogApache
@@ -324,7 +325,7 @@ def test_analyseur_get_analyse_complete_valide(analyseur_log_apache):
324325 de la classe :class:`AnalyseurLogApache`.
325326 """
326327 analyse = analyseur_log_apache .get_analyse_complete ()
327- assert analyse ["chemin" ] == analyseur_log_apache .fichier .chemin
328+ assert analyse ["chemin" ] == abspath ( analyseur_log_apache .fichier .chemin )
328329 assert analyse ["total_entrees" ] == analyseur_log_apache .get_total_entrees ()
329330 assert analyse ["filtre" ] == analyseur_log_apache .filtre .get_dict_filtre ()
330331 statistiques = analyse ["statistiques" ]
You can’t perform that action at this time.
0 commit comments