def setUp(self): self.config = testing.setUp(settings=self.settings) archive_settings = {archive_config.CONNECTION_STRING: self.db_conn_str} archive_initdb(archive_settings) from cnxpublishing.db import initdb initdb(self.db_conn_str)
def setUp(self): EPUBMixInTestCase.setUp(self) config = testing.setUp(settings=self.settings) archive_settings = { archive_config.CONNECTION_STRING: self.db_conn_str, } archive_initdb(archive_settings) from cnxpublishing.db import initdb initdb(self.db_conn_str) # Assign API keys for testing self.set_up_api_keys()