예제 #1
0
class testView:
    def setup(self):
        provider = IProvider()
        #        metadata = Metadata(provider)
        viewConfig = ViewConfig(provider, "")

        self.view = View(Widget(), viewConfig)

    def testCreate(self):
        pass

    def testDisplay(self):
        s = self.view.widget(value={})
        assert s == None, s
예제 #2
0
    def setup(self):
        provider = IProvider()
        #        metadata = Metadata(provider)
        viewConfig = ViewConfig(provider, "")

        self.view = View(Widget(), viewConfig)