コード例 #1
0
ファイル: test_quota.py プロジェクト: ctreffe/alfred
 def expf():
     script = "tests/res/script-hello_world.py"
     secrets = "tests/res/secrets-default.conf"
     exp = get_exp_session(tmp_path,
                           script_path=script,
                           secrets_path=secrets)
     return exp
コード例 #2
0
ファイル: test_quota.py プロジェクト: ctreffe/alfred
def exp(tmp_path):
    script = "tests/res/script-hello_world.py"
    secrets = "tests/res/secrets-default.conf"
    exp = get_exp_session(tmp_path, script_path=script, secrets_path=secrets)

    yield exp

    clear_db()
コード例 #3
0
ファイル: test_element_input.py プロジェクト: ctreffe/alfred
def exp(tmp_path):
    script = "tests/res/script-hello_world.py"
    secrets = "tests/res/secrets-default.conf"
    exp = get_exp_session(tmp_path, script_path=script, secrets_path=secrets)

    exp += al.Page(title="Testpage", name="testpage")

    yield exp

    clear_db()
コード例 #4
0
def lexp(tmp_path):
    script = "tests/res/script-hello_world.py"
    exp = get_exp_session(tmp_path, script_path=script, secrets_path=None)
    yield exp
コード例 #5
0
ファイル: test_movement.py プロジェクト: ctreffe/alfred
def exp(tmp_path):
    script = "tests/res/script-basic_movement.py"
    secrets = "tests/res/secrets-default.conf"
    exp = get_exp_session(tmp_path, script_path=script, secrets_path=secrets)
    yield exp
    clear_db()