Exemple #1
0
    def setUp(self):
        TestCase.setUp(self)
        from lib.Crawl import Crawl

        if not Crawl.exists():
            Crawl.createTable()
        self.assertTrue(Crawl.exists())
 def setUp(self):
     Record.createTable()
     self.assertTrue(Record.exists())
     Crawl.createTable()
     self.assertTrue(Crawl.exists())
     self.session = SqlAlchemySessionFactory().createSqlAlchemySession()
 def setUp(self):
     Record.createTable()
     Crawl.createTable()