diff options
| author | Ruben Herold <ruben@puettmann.net> | 2026-08-05 16:13:56 +0200 |
|---|---|---|
| committer | Ruben Herold <ruben@puettmann.net> | 2026-08-05 16:13:56 +0200 |
| commit | 4432fcf72ca20be430aa9577eee0446d35a2539b (patch) | |
| tree | 39f3f99055f79c72c367c7f477938629df2afd0a /src/validators | |
| parent | d42d8ef1976b0ab8d0b498bf7073f8afea8d19e3 (diff) | |
| download | vyos-1x-4432fcf72ca20be430aa9577eee0446d35a2539b.tar.gz vyos-1x-4432fcf72ca20be430aa9577eee0446d35a2539b.zip | |
ntp: T9159: harden smoketest per CodeRabbit feedback
- assertRaisesRegex instead of bare assertRaises for the two duplicate-
per-family checks and the non-local-address check, so each test
verifies it hit the specific validation branch it's meant to, not
just that *some* ConfigSessionError fired
- wrap the duplicate-address tests' cleanup in try/finally so a failed
assertion doesn't leave the dummy interface / source-address behind
for subsequent tests to trip over
Diffstat (limited to 'src/validators')
0 files changed, 0 insertions, 0 deletions
