コード例 #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')
コード例 #2
0
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('loaddata', 'auth.json')
コード例 #3
0
ファイル: environment.py プロジェクト: cceit/cce-toolkit
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)
コード例 #4
0
ファイル: environment.py プロジェクト: cceit/cce-toolkit
def before_scenario(context, scenario):
    setup_test_environment(context, scenario)
    call_command('flush', verbosity=0, interactive=False)
    call_command('loaddata', 'auth.json')