__init__.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:virtualpdu 作者: internap 项目源码 文件源码
def setUp(self):
        super(PDUTestCase, self).setUp()
        self.community = 'test1212'
        self.core_mock = mock.Mock()
        self.pdu = self.pdu_class(name='test_pdu', core=self.core_mock)
        self.pdu_test_harness = pysnmp_handler.SNMPPDUHarness(
            self.pdu,
            '127.0.0.1',
            random.randint(20000, 30000),
            self.community)
        self.pdu_test_harness.start()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号