Esempio 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'))
Esempio 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'))
Esempio 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'))
Esempio n. 4
0
def test_parse_from_sentence_en_advanced_required(sentence):
    assert 'ADVANCED_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio 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'))
Esempio n. 6
0
def test_parse_from_sentence_cs_leadership_required(sentence):
    assert 'LEADERSHIP_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Esempio 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'))
Esempio n. 8
0
def test_parse_from_sentence_en_independence_preferred(sentence):
    assert 'INDEPENDENCE_PREFERRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio 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'))
Esempio 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'))
Esempio n. 11
0
def test_parse_from_sentence_en_slovak_required(sentence):
    assert 'SLOVAK_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio 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'))
Esempio n. 13
0
def test_parse_from_sentence_en_german_required(sentence):
    assert 'GERMAN_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio n. 14
0
def test_parse_from_sentence_en_explicitly_senior(sentence):
    assert 'EXPLICITLY_SENIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio n. 15
0
def test_parse_from_sentence_cs_explicitly_junior(sentence):
    assert 'EXPLICITLY_JUNIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Esempio n. 16
0
def test_parse_from_sentence_en_junior_friendly(sentence):
    assert 'JUNIOR_FRIENDLY' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
Esempio 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'))
Esempio 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'))
Esempio n. 19
0
def test_parse_from_sentence_cs_learning_required(sentence):
    assert 'LEARNING_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
Esempio 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'))
Esempio 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'))
Esempio 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'))