Searched refs:pytest (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-current/tests/atf_python/
H A D__init__.py1 import pytest namespace
3 pytest.register_assert_rewrite("atf_python.sys.net.rtsock")
4 pytest.register_assert_rewrite("atf_python.sys.net.vnet")
H A Dutils.py11 import pytest namespace
57 pytest.skip(txt)
H A Dktest.py5 import pytest namespace
32 class KtestItem(pytest.Item):
42 class KtestCollector(pytest.Class):
54 orig = pytest.Class.from_parent(self.parent, name=self.name, obj=obj)
/freebsd-current/tests/examples/
H A Dtest_ktest_example.py1 import pytest namespace
12 @pytest.mark.parametrize(
15 pytest.param([1, 2], id="1_2_Sum"),
16 pytest.param([3, 4], id="3_4_Sum"),
29 @pytest.mark.skip(reason="comment me ( or delete the func) to run the test")
33 @pytest.mark.skip(reason="comment me ( or delete the func) to run the test")
H A Dtest_examples.py1 import pytest namespace
21 @pytest.mark.skip(reason="comment me to run the test")
31 @pytest.mark.skip(reason="comment me to run the test")
39 @pytest.mark.skip(reason="comment me to run the test")
42 @pytest.mark.require_user("root")
43 @pytest.mark.require_arch(["amd64", "i386"])
44 @pytest.mark.require_files(["/path/file1", "/path/file2"])
45 @pytest.mark.require_machine(["amd64", "i386"])
46 @pytest.mark.require_memory("200M")
47 @pytest
[all...]
/freebsd-current/tests/sys/netlink/
H A Dtest_netlink_message_writer.py2 import pytest namespace
16 @pytest.mark.parametrize(
19 pytest.param(M_NOWAIT, id="NOWAIT"),
20 pytest.param(M_WAITOK, id="WAITOK"),
23 @pytest.mark.parametrize(
26 pytest.param([NLMSG_SMALL, NLMSG_SMALL], id="NLMSG_SMALL"),
27 pytest.param([NLMSG_LARGE, NLMSG_LARGE], id="NLMSG_LARGE"),
28 pytest.param([NLMSG_LARGE + 256, NLMSG_LARGE + 256], id="NLMSG_LARGE+256"),
H A Dtest_nl_core.py4 import pytest namespace
11 @pytest.mark.parametrize(
14 pytest.param({"type": socket.SOCK_RAW}, id="SOCK_RAW"),
15 pytest.param({"type": socket.SOCK_DGRAM}, id="SOCK_DGRAM"),
22 @pytest.mark.parametrize(
25 pytest.param({"type": socket.SOCK_STREAM}, id="SOCK_STREAM"),
26 pytest.param({"type": socket.SOCK_RDM}, id="SOCK_RDM"),
27 pytest.param({"type": socket.SOCK_SEQPACKET}, id="SOCK_SEQPACKET"),
31 with pytest.raises(OSError) as exc_info:
H A Dtest_rtnl_ifaddr.py5 import pytest namespace
257 @pytest.mark.parametrize(
260 pytest.param((32, True, "192.0.2.1"), id="auto_32"),
261 pytest.param((31, True, "255.255.255.255"), id="auto_31"),
262 pytest.param((30, True, "192.0.2.3"), id="auto_30"),
263 pytest.param((30, False, "192.0.2.2"), id="custom_30"),
264 pytest.param((24, False, "192.0.2.7"), id="custom_24"),
390 @pytest.mark.parametrize(
474 @pytest.mark.parametrize(
477 pytest
[all...]
H A Dtest_rtnl_neigh.py3 import pytest namespace
45 @pytest.mark.timeout(5)
50 @pytest.mark.timeout(5)
H A Dtest_rtnl_route.py4 import pytest namespace
28 @pytest.mark.timeout(5)
49 @pytest.mark.timeout(5)
70 @pytest.mark.timeout(5)
91 @pytest.mark.timeout(20)
H A Dtest_rtnl_iface.py4 import pytest namespace
72 @pytest.mark.require_user("root")
96 @pytest.mark.require_user("root")
130 @pytest.mark.require_user("root")
160 @pytest.mark.require_user("root")
200 @pytest.mark.require_user("root")
246 @pytest.mark.require_user("root")
317 @pytest.mark.require_user("root")
/freebsd-current/libexec/atf/
H A DMakefile27 SUBDIR= atf-check atf-pytest-wrapper atf-sh tests
/freebsd-current/sbin/ping/tests/
H A Dtest_ping.py1 import pytest namespace
295 pytest.param(
311 pytest.param(
327 pytest.param(
343 pytest.param(
357 pytest.param(
373 pytest.param(
387 pytest.param(
405 pytest.param(
419 pytest
[all...]
/freebsd-current/tests/sys/net/routing/
H A Dtest_rtsock_multipath.py1 import pytest namespace
26 @pytest.mark.parametrize(
29 pytest.param(["+.10=2", "+.5=3"], id="transition_multi"),
30 pytest.param(["+.10=2", "+.5=3", "-.10=2"], id="transition_single1"),
31 pytest.param(["+.10=2", "+.5=3", "-.5=3"], id="transition_single2"),
32 pytest.param(
35 pytest.param(
38 pytest.param(["+.10=1", "+.5=2"], id="weight1"),
39 pytest.param(["+.10=2", "+.5=7"], id="weight2"),
40 pytest
[all...]
H A Dtest_routing_l3.py4 import pytest namespace
21 @pytest.mark.parametrize("family", ["inet", "inet6"])
22 @pytest.mark.require_user("root")
50 @pytest.mark.parametrize(
54 pytest.param("inet6", marks=pytest.mark.xfail(reason="currently fails")),
57 @pytest.mark.require_user("root")
91 @pytest.mark.parametrize("family", ["inet", "inet6"])
92 @pytest.mark.require_user("root")
/freebsd-current/sbin/ipfw/tests/
H A Dtest_add_rule.py26 import pytest namespace
120 @pytest.mark.parametrize(
123 pytest.param(
133 pytest.param(
146 pytest.param(
163 pytest.param(
176 pytest.param(
192 pytest.param(
209 pytest.param(
221 pytest
[all...]
/freebsd-current/tests/sys/netinet6/
H A Dtest_ip6_output.py10 import pytest namespace
95 @pytest.mark.require_user("root")
117 @pytest.mark.require_user("root")
143 @pytest.mark.parametrize(
148 pytest.param({"esrc": "2001:db8:b::1", "eif": "if2"}, id="empty"),
149 pytest.param(
153 pytest.param(
161 pytest.param(
168 pytest.param(
173 @pytest
[all...]
/freebsd-current/tests/sys/netpfil/pf/
H A Dfrag6.py1 import pytest namespace
41 @pytest.mark.require_user("root")
H A Dnat66.py29 import pytest namespace
142 @pytest.mark.require_user("root")
170 @pytest.mark.require_user("root")
H A Dsctp.py1 import pytest namespace
264 @pytest.mark.require_user("root")
298 @pytest.mark.require_user("root")
364 @pytest.mark.require_user("root")
413 @pytest.mark.require_user("root")
447 @pytest.mark.require_user("root")
512 @pytest.mark.require_user("root")
/freebsd-current/tests/
H A Dconftest.py1 import pytest namespace
53 @pytest.fixture(autouse=True, scope="session")
58 @pytest.hookimpl(trylast=True)
/freebsd-current/crypto/openssl/test/recipes/95-test_external_pyca_data/
H A Dcryptography.sh62 pytest -n auto tests --wycheproof-root=../wycheproof
/freebsd-current/tests/atf_python/sys/netpfil/ipfw/
H A Dutils.py15 import pytest namespace
/freebsd-current/tests/sys/netinet/
H A Dcarp.py1 import pytest namespace
H A Digmp.py27 import pytest namespace

Completed in 296 milliseconds

12