CodePostalParVilleBanTest
Tests
| Test |
Duration |
Result |
| client absent - null() |
0.001s |
passed |
| commune a plusieurs codes postaux - abstention, aucun code choisi() |
0.003s |
passed |
| commune a un seul code postal - ce code() |
0.024s |
passed |
| homonymes - abstention() |
0.221s |
passed |
| introuvable ou lac - null() |
0.010s |
passed |
| lecture tronquee - abstention() |
0.005s |
passed |
Standard output
01:50:24.089 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Sainte-Colombe » : 2 commune(s), codes postaux [05700, 69560] — abstention, aucun code choisi
01:50:24.092 [Test worker] ERROR com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] serve.ban non câblé — abstention pour « Annecy », pas une commune inconnue
01:50:24.098 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Xyz » absente de serve.ban — abstention
01:50:24.133 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Paris » : 1 commune(s), codes postaux [75001] (tronqué) — abstention, aucun code choisi
01:50:24.138 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Annecy » : 1 commune(s), codes postaux [74000, 74940] — abstention, aucun code choisi
01:50:24.163 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] code postal par serve.ban : « Pontarlier » → 25300