mirror of
https://github.com/guezoloic/millesima_projetS6.git
synced 2026-03-31 04:11:34 +00:00
ajout de la fonction informations
This commit is contained in:
@@ -240,3 +240,7 @@ def test_prix(scraper: Scraper):
|
||||
|
||||
assert contenu.prix() == 65.0
|
||||
|
||||
def test_informations(scraper: Scraper):
|
||||
contenu = scraper.getjsondata("nino-negri-5-stelle-sfursat-2022.html")
|
||||
assert contenu.informations() == "Sforzato di Valtellina,91,17,93.5,65.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user