def initdb(self): from ckanext.harvest.model import setup as db_setup db_setup() print 'DB tables created' def t_hs(): print 'New test procedure'
def setup(self): super(BaseTestCase, self).setup() db_setup() self.app = self._get_test_app() ctd.CreateTestData.create()
def initdb(): from ckanext.harvest.model import setup as db_setup db_setup()
def initdb(self): from ckanext.harvest.model import setup as db_setup db_setup() print 'DB tables created'
def initdb(self): from ckanext.harvest.model import setup as db_setup db_setup() print "DB tables created"
def setUp(_self): helpers.reset_db() db_setup()
def setup(self): super(BaseTestCase, self).setup() db_setup()