Exemplo n.º 1
0
def test_parse_from_sentence_cs_junior_friendly_not(sentence):
    assert 'JUNIOR_FRIENDLY' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 2
0
def test_parse_from_sentence_cs_german_required_not(sentence):
    assert 'GERMAN_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 3
0
def test_parse_from_sentence_cs_independence_preferred_not(sentence):
    assert 'INDEPENDENCE_PREFERRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 4
0
def test_parse_from_sentence_en_advanced_required(sentence):
    assert 'ADVANCED_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 5
0
def test_parse_from_sentence_cs_tech_degree_required(sentence):
    assert 'TECH_DEGREE_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 6
0
def test_parse_from_sentence_cs_leadership_required(sentence):
    assert 'LEADERSHIP_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 7
0
def test_parse_from_sentence_en_tech_degree_required_not(sentence):
    assert 'TECH_DEGREE_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 8
0
def test_parse_from_sentence_en_independence_preferred(sentence):
    assert 'INDEPENDENCE_PREFERRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 9
0
def test_parse_from_sentence_en_explicitly_junior_not(sentence):
    assert 'EXPLICITLY_JUNIOR' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 10
0
def test_parse_from_sentence_en_czech_required_not(sentence):
    assert 'CZECH_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 11
0
def test_parse_from_sentence_en_slovak_required(sentence):
    assert 'SLOVAK_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 12
0
def test_parse_from_sentence_en_leadership_required_not(sentence):
    assert 'LEADERSHIP_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 13
0
def test_parse_from_sentence_en_german_required(sentence):
    assert 'GERMAN_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 14
0
def test_parse_from_sentence_en_explicitly_senior(sentence):
    assert 'EXPLICITLY_SENIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 15
0
def test_parse_from_sentence_cs_explicitly_junior(sentence):
    assert 'EXPLICITLY_JUNIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 16
0
def test_parse_from_sentence_en_junior_friendly(sentence):
    assert 'JUNIOR_FRIENDLY' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 17
0
def test_parse_from_sentence_cs_explicitly_senior_not(sentence):
    assert 'EXPLICITLY_SENIOR' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 18
0
def test_parse_from_sentence_cs_english_required_not(sentence):
    assert 'ENGLISH_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 19
0
def test_parse_from_sentence_cs_learning_required(sentence):
    assert 'LEARNING_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 20
0
def test_parse_from_sentence_cs_advanced_required_not(sentence):
    assert 'ADVANCED_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Exemplo n.º 21
0
def test_parse_from_sentence_en_years_experience_required(sentence):
    assert 'YEARS_EXPERIENCE_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Exemplo n.º 22
0
def test_parse_from_sentence_cs_years_experience_required_not(sentence):
    assert 'YEARS_EXPERIENCE_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))