CodePostalParVilleBanTest
Tests
| Test |
Duration |
Result |
| client absent - null() |
0s |
passed |
| commune a plusieurs codes postaux - abstention, aucun code choisi() |
0.002s |
passed |
| commune a un seul code postal - ce code() |
0.002s |
passed |
| homonymes - abstention() |
0.137s |
passed |
| introuvable ou lac - null() |
0.007s |
passed |
| lecture tronquee - abstention() |
0.003s |
passed |
Standard output
10:48:09.575 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Sainte-Colombe » : 2 commune(s), codes postaux [05700, 69560] — abstention, aucun code choisi
10:48:09.578 [Test worker] ERROR com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] serve.ban non câblé — abstention pour « Annecy », pas une commune inconnue
10:48:09.582 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Xyz » absente de serve.ban — abstention
10:48:09.589 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Paris » : 1 commune(s), codes postaux [75001] (tronqué) — abstention, aucun code choisi
10:48:09.592 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Annecy » : 1 commune(s), codes postaux [74000, 74940] — abstention, aucun code choisi
10:48:09.595 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] code postal par serve.ban : « Pontarlier » → 25300