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.169s |
passed |
| introuvable ou lac - null() |
0.008s |
passed |
| lecture tronquee - abstention() |
0.003s |
passed |
Standard output
12:27:33.080 [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:27:33.084 [Test worker] ERROR com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] serve.ban non câblé — abstention pour « Annecy », pas une commune inconnue
12:27:33.090 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Xyz » absente de serve.ban — abstention
12:27:33.097 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Paris » : 1 commune(s), codes postaux [75001] (tronqué) — abstention, aucun code choisi
12:27:33.116 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] « Annecy » : 1 commune(s), codes postaux [74000, 74940] — abstention, aucun code choisi
12:27:33.120 [Test worker] INFO com.alertimmo.aiscraping.extraction.texte.CodePostalParVilleBan -- [texte-colle] code postal par serve.ban : « Pontarlier » → 25300