Example #1
0
def test_checkplfile_unconsistent_pl():
    assert not (checkplfile(
        "/test/unconsistent.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Example #2
0
def test_checkplfile_no_dicfromfile():
    assert not (checkplfile(
        "zigoto.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Example #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"))
Example #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"))
Example #5
0
def test_checkplfile_succeed():
    assert (checkplfile(
        "/python/0PLG/TPE/identificateurs.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Example #6
0
def test_checkplfile_direct_succeed():
    assert (checkplfile(
        "/gift/all/SelectWithFeedback.pl",
        'plbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))
Example #7
0
def test_checkplfile_otherbank_succeed():
    assert (checkplfile(
        "identificateurs.pl",
        'otherbank',
        sandboxurl="http://127.0.0.1:8000/sandbox/?action=execute"))