Пример #1
0
def test_bad_match():
    assert ExecutorDetector.match("herpderp") is None
Пример #2
0
def test_bad_match():
    assert ExecutorDetector.match('herpderp') is None
Пример #3
0
def test_match_inverse():
    assert ExecutorDetector.match(ExecutorDetector.path(DEFAULT_MATCH)).groups() == (DEFAULT_MATCH.groups())
Пример #4
0
def test_match_inverse():
    assert ExecutorDetector.match(
        ExecutorDetector.path(DEFAULT_MATCH)).groups() == (
            DEFAULT_MATCH.groups())