예제 #1
0
    def setUp(self):
        self.config = appconfig("config:development.ini", "pyramid", relative_to=".")
        from bccvl_visualiser import main

        app = main(None, **self.config)
        from webtest import TestApp

        self.testapp = TestApp(app)
예제 #2
0
 def setUp(self):
     self.config = appconfig('config:development.ini',
                             'pyramid',
                             relative_to='.')
     from bccvl_visualiser import main
     app = main(None, **self.config)
     from webtest import TestApp
     self.testapp = TestApp(app)