Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/y/pyroute2-HEAD/tests/test_tc.py   pyroute2(Download)
from pyroute2.netlink.iproute import RTM_NEWTFILTER
from pyroute2.netlink.iproute import RTM_NEWTCLASS
from pyroute2.netlink.iproute import TC_H_INGRESS
from nose.plugins.skip import SkipTest
 
        # assert it has proper handle and parent
        assert qds['handle'] == 0xffff0000
        assert qds['parent'] == TC_H_INGRESS
 
    def test_filter(self):