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

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

src/b/3/b3-1.9.2/tests/plugins/test_tk.py   b3(Download)
import unittest2 as unittest
 
from b3.plugins.tk import TkPlugin, TkInfo
from b3.config import XmlConfigParser
 
    def setUp(self):
        self.my_cid = 1
        self.mock_plugin = Mock(name="plugin", spec=TkPlugin)
        self.info = TkInfo(self.mock_plugin, self.my_cid)
 
        cid3 = 3
        infos = {
            cid2: TkInfo(self.mock_plugin, cid2),
            cid3: TkInfo(self.mock_plugin, cid3)
        }

src/b/i/big-brother-bot-HEAD/tests/plugins/test_tk.py   big-brother-bot(Download)
import unittest2 as unittest
 
from b3.plugins.tk import TkPlugin, TkInfo
from b3.config import XmlConfigParser
 
    def setUp(self):
        self.my_cid = 1
        self.mock_plugin = Mock(name="plugin", spec=TkPlugin)
        self.info = TkInfo(self.mock_plugin, self.my_cid)
 
        cid3 = 3
        infos = {
            cid2: TkInfo(self.mock_plugin, cid2),
            cid3: TkInfo(self.mock_plugin, cid3)
        }