Beispiel #1
0
 def setUp(self):
     self.config = testing.setUp()
     self.config.include('pyramid_chameleon')
     settings = add_settings_to_appconfig()
     settings.update(get_key_pair())
     DBDiscussionSession.remove()
     DBDiscussionSession.configure(
         bind=get_dbas_db_configuration('discussion', settings))
Beispiel #2
0
 def setUp(self):
     time.sleep(8)
     settings = add_settings_to_appconfig()
     DBDiscussionSession.configure(bind=get_dbas_db_configuration('discussion', settings))
Beispiel #3
0
def setup_package():
    settings = add_settings_to_appconfig()
    DBDiscussionSession.remove()
    DBDiscussionSession.configure(
        bind=get_dbas_db_configuration('discussion', settings))
Beispiel #4
0
 def setUp(self):
     self.config = testing.setUp(settings=_settings_dict_for_tests())
     self.config.include('pyramid_chameleon')
     settings = add_settings_to_appconfig()
     DBDiscussionSession.remove()
     DBDiscussionSession.configure(bind=get_dbas_db_configuration('discussion', settings))