import pytest pytest.register_assert_rewrite("atf_python.sys.net.rtsock") pytest.register_assert_rewrite("atf_python.sys.net.vnet")