Changeset View
Changeset View
Standalone View
Standalone View
sbin/ping/tests/test_ping.py
Show First 20 Lines • Show All 715 Lines • ▼ Show 20 Lines | """, | ||||
ping46_testdata = [ | ping46_testdata = [ | ||||
pytest.param( | pytest.param( | ||||
{ | { | ||||
"args": "-Wx localhost", | "args": "-Wx localhost", | ||||
"returncode": os.EX_USAGE, | "returncode": os.EX_USAGE, | ||||
"stdout": "", | "stdout": "", | ||||
"stderr": "ping: invalid timing interval: `x'\n", | "stderr": "ping: invalid timing interval: `x'\n", | ||||
}, | }, | ||||
marks=pytest.mark.skip("XXX currently failing"), | |||||
id="_Wx_localhost", | id="_Wx_localhost", | ||||
), | ), | ||||
] | ] | ||||
@pytest.mark.parametrize("expected", ping46_testdata) | @pytest.mark.parametrize("expected", ping46_testdata) | ||||
def test_ping_46(self, expected): | def test_ping_46(self, expected): | ||||
"""Test ping -4/ping -6""" | """Test ping -4/ping -6""" | ||||
for version in [4, 6]: | for version in [4, 6]: | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |