Beispiel #1
0
def test_client(betamax_session):
    app = create_app({
        "test": True,
        "session": betamax_session,
        "config": get_config_object('rules.sample3.cfg'),
        "TOKEN": TOKEN,
        "REPO": REPO,
        "SECRET": None
    })
    app.config['TESTING'] = True
    return app.test_client()
Beispiel #2
0
def rules_config_no_fallback():
    return get_config_object('rules.no-fallback.cfg')
Beispiel #3
0
def rules_config_only_fallback():
    return get_config_object('rules.only-fallback.cfg')
Beispiel #4
0
def rules_config_2():
    return get_config_object('rules.sample2.cfg')