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