Пример #1
0
def test_make_language_frame(multi_ling_frame):
    english_frame = make_big_frame(multi_ling_frame, 'en')
    assert '/c/en/ski_jumping' in english_frame.index
    assert '/c/en/nordic_combined' in english_frame.index
    assert '/c/en/present' in english_frame.index
    assert '/c/en/gift' in english_frame.index
    assert '/c/pl/kombinacja' not in english_frame.index
Пример #2
0
def test_make_language_frame():
    english_frame = make_big_frame(TEST_FRAME, 'en')
    ok_('/c/en/ski_jumping' in english_frame.index)
    ok_('/c/en/nordic_combined' in english_frame.index)
    ok_('/c/en/present' in english_frame.index)
    ok_('/c/en/gift' in english_frame.index)
    ok_('/c/pl/kombinacja' not in english_frame.index)
Пример #3
0
def test_make_language_frame():
    english_frame = make_big_frame(TEST_FRAME, 'en')
    ok_('/c/en/ski_jumping' in english_frame.index)
    ok_('/c/en/nordic_combined' in english_frame.index)
    ok_('/c/en/present' in english_frame.index)
    ok_('/c/en/gift' in english_frame.index)
    ok_('/c/pl/kombinacja' not in english_frame.index)