Exemplo n.º 1
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('flush', verbosity=0, interactive=False)
    call_command('loaddata', 'test_auth.json')
Exemplo n.º 2
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('loaddata', 'auth.json')
Exemplo n.º 3
0
def before_scenario(context, scenario):  # The scenario param is used behind the scenes
    setup_test_environment(context, scenario)
    call_command('flush', verbosity=0, interactive=False)
Exemplo n.º 4
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('flush', verbosity=0, interactive=False)
    call_command('loaddata', 'auth.json')