Esempio n. 1
0
    def test_3_plugin(self):
        p = plugin.plugin()
        p.config = self.mox.CreateMockAnything()
        #self.mox.StubOutWithMock(p.config, 'putFeature')]
        for each in getPlist():
            p.config.putFeature(each).InAnyOrder()

        self.mox.ReplayAll()
        #p.config.ReplayAll()
        p.getAll()

        self.mox.VerifyAll()
Esempio n. 2
0
 def __init__(self):
     self.config   = configurator()
     self.plugins  = plugin()
     self.yml      = nyaml()