From 61ffb32b02758e8796dc82bc5576a6049aa861ed Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 17 Dec 2022 23:58:01 -0300 Subject: [PATCH] =?UTF-8?q?Test=20unit.=20logo:=20d=C3=A9sactive=20v=C3=A9?= =?UTF-8?q?rification=20contenu=20r=C3=A9pertoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/test_logos.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_logos.py b/tests/unit/test_logos.py index e5975512..c7fe0d77 100644 --- a/tests/unit/test_logos.py +++ b/tests/unit/test_logos.py @@ -8,6 +8,7 @@ Utiliser comme: from pathlib import Path from shutil import copy +import pytest from _pytest.python_api import approx import app @@ -167,8 +168,11 @@ def test_create_jpg_instead_of_png_logo(create_logos): created.unlink(missing_ok=True) +@pytest.mark.skip( + reason="il peut y avoir d'autres fichiers logos sur les serveurs de dev" +) def test_list_logo(create_logos): - # test only existence of copied logos. We assumes that they are OK + """Vérifie que nos logos sont présents et que ce sont les seuls.""" dept1, dept2, dept3 = create_logos logos = list_logos() assert set(logos.keys()) == {dept1.id, dept2.id, None}