CodePostalParVilleBanTest

6

tests

0

failures

0

ignored

0.244s

duration

100%

successful

Tests

Test Duration Result
client absent - null() 0.002s passed
commune a plusieurs codes postaux - abstention, aucun code choisi() 0.003s passed
commune a un seul code postal - ce code() 0.004s passed
homonymes - abstention() 0.217s passed
introuvable ou lac - null() 0.013s passed
lecture tronquee - abstention() 0.005s passed

Standard output

12:34:45.936 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Sainte-Colombe » : 2 commune(s), codes postaux [05700, 69560] — abstention, aucun code choisi
12:34:45.940 [Test worker] ERROR com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] serve.ban non câblé — abstention pour « Annecy », pas une commune inconnue
12:34:45.948 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Xyz » absente de serve.ban — abstention
12:34:45.960 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Paris » : 1 commune(s), codes postaux [75001] (tronqué) — abstention, aucun code choisi
12:34:45.965 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Annecy » : 1 commune(s), codes postaux [74000, 74940] — abstention, aucun code choisi
12:34:45.970 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] code postal par serve.ban : « Pontarlier » → 25300