Exemplo n.º 1
0
def test_checkplfile_unconsistent_pl():
    assert not (checkplfile(
        "/test/unconsistent.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 2
0
def test_checkplfile_no_dicfromfile():
    assert not (checkplfile(
        "zigoto.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 3
0
def test_checkplfile_direct_create_bad_responses():
    assert not (checkplfile(
        "/test/create_bad_responses.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 4
0
def test_checkplfile_direct_except_evaluator():
    assert not (checkplfile(
        "/test/except_evaluator.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 5
0
def test_checkplfile_succeed():
    assert (checkplfile(
        "/python/0PLG/TPE/identificateurs.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 6
0
def test_checkplfile_direct_succeed():
    assert (checkplfile(
        "/gift/all/SelectWithFeedback.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Exemplo n.º 7
0
def test_checkplfile_otherbank_succeed():
    assert (checkplfile(
        "identificateurs.pl",
        'otherbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))