Exemplo n.º 1
0
def test_testinfo_payload__matchs():
    testinfo = "1234"
    text = 'asdasd \ntestinfo= "' + testinfo + '"   \nZZZ'
    assert hl.testinfo_payload(text) == testinfo
Exemplo n.º 2
0
def test_testinfo_payload__no_matchs():
    text = 'asdasd \ntestinfo= ' + '   \nZZZ'
    assert hl.testinfo_payload(text)==None
Exemplo n.º 3
0
def test_testinfo_payload__no_matchs():
    text = 'asdasd \ntestinfo= ' + '   \nZZZ'
    assert hl.testinfo_payload(text)==None
Exemplo n.º 4
0
def test_testinfo_payload__matchs():
    testinfo = "1234"
    text = 'asdasd \ntestinfo= "' + testinfo + '"   \nZZZ'
    assert hl.testinfo_payload(text) == testinfo