Decorator skipping test if TCP blackhole is enabled.
(test)
| 335 | |
| 336 | |
| 337 | def skip_if_tcp_blackhole(test): |
| 338 | """Decorator skipping test if TCP blackhole is enabled.""" |
| 339 | skip_if = unittest.skipIf( |
| 340 | tcp_blackhole(), |
| 341 | "TCP blackhole is enabled (sysctl net.inet.tcp.blackhole)" |
| 342 | ) |
| 343 | return skip_if(test) |
nothing calls this directly
no test coverage detected