Пример #1
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_addresses()
        delete_clients()
        
        db.session.commit()
Пример #2
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_addresses()
        delete_clients()

        db.session.commit()
Пример #3
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_states_orders()
        delete_clients()        
        
        db.session.commit()
Пример #4
0
    def teardown_class(cls):
        """ Clear database fixtures """

        delete_orders()
        delete_states_orders()
        delete_clients()

        db.session.commit()