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

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

src/p/y/pyroute2-HEAD/tests/test_ipr.py   pyroute2(Download)
    def setup(self):
        create_link('dummyX', 'dummy')
        self.ip = IPRoute()
        self.dev = self.ip.link_lookup(ifname='dummyX')
 
    def setup(self):
        create_link('dummyX', 'dummy')
        self.ip = IPRoute(fork=True)
        self.dev = self.ip.link_lookup(ifname='dummyX')
 
        self.ip.default_dport = service
 
        self.dev = self.ip.link_lookup(ifname='dummyX')
 
    def teardown(self):
 
        self.ip = IPRoute(host=url)
        self.dev = self.ip.link_lookup(ifname='dummyX')
 
    def teardown(self):
                          cert='client.crt',
                          ca='ca.crt')
        self.dev = self.ip.link_lookup(ifname='dummyX')
 
    def teardown(self):

src/p/y/pyroute2-HEAD/tests/test_tc.py   pyroute2(Download)
                     ifname='dummyX',
                     linkinfo={'attrs': [['IFLA_INFO_KIND', 'dummy']]})
        self.interface = self.ip.link_lookup(ifname='dummyX')[0]
 
    def teardown(self):