Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
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()
Ejemplo n.º 3
0
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()
Ejemplo n.º 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
Ejemplo n.º 5
0
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()