Exemplo n.º 1
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_menus()
        delete_restaurants()

        db.session.commit()
Exemplo n.º 2
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_restaurants()
        delete_restaurateurs()
        delete_countries()
        db.session.commit()
Exemplo n.º 3
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_menus()
        delete_restaurants()
        
        db.session.commit()
Exemplo n.º 4
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_restaurants()
        delete_restaurateurs()
        delete_countries()
        db.session.commit()
Exemplo n.º 5
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_restaurants()
        delete_addresses()
        delete_dishes()
        delete_clients()

        db.session.commit()
Exemplo n.º 6
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_states_orders()
        delete_clients()
        delete_restaurants()
        
        db.session.commit()
Exemplo n.º 7
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_restaurants()
        delete_addresses()
        delete_dishes()
        delete_clients()
        
        db.session.commit()