()
| 73 | |
| 74 | |
| 75 | def test_assert_features(): |
| 76 | method = get_method('pf') |
| 77 | features = method.get_supported_features() |
| 78 | method.assert_features(features) |
| 79 | |
| 80 | features.udp = True |
| 81 | with pytest.raises(Fatal): |
| 82 | method.assert_features(features) |
| 83 | |
| 84 | features.ipv6 = True |
| 85 | with pytest.raises(Fatal): |
| 86 | method.assert_features(features) |
| 87 | |
| 88 | |
| 89 | @patch('sshuttle.methods.pf.pf', Darwin()) |
nothing calls this directly
no test coverage detected