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

        delete_addresses()
        delete_clients()

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

        delete_addresses()
        delete_clients()
        
        db.session.commit()
Beispiel #3
0
    def teardown_class(cls):
        """ Clear database fixtures """

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

        db.session.commit()
Beispiel #4
0
    def teardown_class(cls):
        """ Clear database fixtures """

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