Beispiel #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')
Beispiel #2
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('loaddata', 'auth.json')
Beispiel #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)
Beispiel #4
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('flush', verbosity=0, interactive=False)
    call_command('loaddata', 'auth.json')