コード例 #1
0
ファイル: tests.py プロジェクト: gerald13/NsPortal
 def setUp(self):
     """ This sets up the application registry with the
     registrations your application declares in its ``includeme``
     function.
     """
     from ns_portal import main
     app = main({}, **settings)
     self.config = testing.setUp()
     self.config.include('app')
コード例 #2
0
ファイル: tests.py プロジェクト: gerald13/NsPortal
 def setUp(self):
     """ This sets up the application registry with the
     registrations your application declares in its ``includeme``
     function.
     """
     from ns_portal import main
     app = main({},**settings)
     self.config = testing.setUp()
     self.config.include('app')
コード例 #3
0
ファイル: tests.py プロジェクト: gerald13/NsPortal
 def setUpClass(cls):
     cls.ns_portal = main({}, **settings)
     super(IntegrationTestBase, cls).setUpClass()
コード例 #4
0
ファイル: tests.py プロジェクト: gerald13/NsPortal
 def setUpClass(cls):
     cls.ns_portal = main({}, **settings)
     super(IntegrationTestBase, cls).setUpClass()