Esempio n. 1
0
    def setUp(self):
        """Initialize the database if it doesn't exist."""
        global db_built

        if not db_built:
            ctx.drop_all()
            ctx.create_all()
            S.run(ctx)
            db_built = True
Esempio n. 2
0
    def setUp(self):
        """Initialize the database if it doesn't exist."""
        global db_built

        if not db_built:
            ctx.drop_all()
            ctx.create_all()
            S.run(ctx)
            db_built = True
Esempio n. 3
0
 def build(self):
     """Build all data."""
     from sanskrit import setup
     setup.run(self)
Esempio n. 4
0
 def build(self):
     """Build all data."""
     from sanskrit import setup
     setup.run(self)