예제 #1
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_lines_order()

        db.session.commit()
예제 #2
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_lines_order()

        db.session.commit()
예제 #3
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_states_orders()
        delete_clients()
        delete_restaurants()
        
        db.session.commit()