summaryrefslogtreecommitdiff
path: root/src/validators/interface-exists
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2026-08-05 16:13:56 +0200
committerRuben Herold <ruben@puettmann.net>2026-08-05 16:13:56 +0200
commit4432fcf72ca20be430aa9577eee0446d35a2539b (patch)
tree39f3f99055f79c72c367c7f477938629df2afd0a /src/validators/interface-exists
parentd42d8ef1976b0ab8d0b498bf7073f8afea8d19e3 (diff)
downloadvyos-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/interface-exists')
0 files changed, 0 insertions, 0 deletions