Esempio n. 1
0
def before_scenario(context, scenario):
    postgres.drop_all()
    postgres.create_all()
Esempio n. 2
0
def after_scenario(context, scenario):
    from core.services import postgres
    from identity.models.user import User
    postgres.drop_all()
    postgres.create_all()
Esempio n. 3
0
def after_scenario(context, scenario):
    postgres.drop_all()
    postgres.create_all()
Esempio n. 4
0
from core.services import postgres
from identity.models.user import User

postgres.drop_all()
postgres.create_all()