Пример #1
0
def test_for_file_not_in_list_returns_null():
    training_data = \
        [
            ("Responsible for developing and implementing a high level security feature in the homepage",
             "vice president",
             "1_plaintext.txt")
        ]
    expected_value = 0
    skills_list = extract_top_skills(training_data)
    eq_(expected_value, len(skills_list))
def test_for_file_not_in_list_returns_null():
    training_data = \
        [
            ("Responsible for developing and implementing a high level security feature in the homepage",
             "vice president",
             "1_plaintext.txt")
        ]
    expected_value = 0
    skills_list = extract_top_skills(training_data)
    eq_(expected_value,len(skills_list))
Пример #3
0
def test_if_top_50_skills_are_genetared():
    training_data = \
        [
            ("Responsible for developing and implementing a high level security feature in the homepage",
             "vice president",
             "135697_plaintext.txt")
        ]
    expected_value = 50
    skills_list = extract_top_skills(training_data)
    eq_(expected_value, len(skills_list))
def test_if_top_50_skills_are_genetared():
    training_data = \
        [
            ("Responsible for developing and implementing a high level security feature in the homepage",
             "vice president",
             "135697_plaintext.txt")
        ]
    expected_value = 50
    skills_list = extract_top_skills(training_data)
    eq_(expected_value,len(skills_list))