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.003s |
passed |
| homonymes - abstention() |
0.184s |
passed |
| introuvable ou lac - null() |
0.010s |
passed |
| lecture tronquee - abstention() |
0.003s |
passed |
Standard output
21:50:02.085 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Sainte-Colombe » : 2 commune(s), codes postaux [05700, 69560] — abstention, aucun code choisi
21:50:02.088 [Test worker] ERROR com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] serve.ban non câblé — abstention pour « Annecy », pas une commune inconnue
21:50:02.095 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Xyz » absente de serve.ban — abstention
21:50:02.102 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Paris » : 1 commune(s), codes postaux [75001] (tronqué) — abstention, aucun code choisi
21:50:02.106 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Annecy » : 1 commune(s), codes postaux [74000, 74940] — abstention, aucun code choisi
21:50:02.110 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] code postal par serve.ban : « Pontarlier » → 25300