/
FAU
/
itis_finally_Project
Обзор
Документация
Войти
/
FAU
/
itis_finally_Project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
tests/test_parser.py
11 строк
371 B
Alexey Fedorovich
Initial commit: Learning Path Analyzer scaffold
27 дек 2025, 14:35
27 дек 2025, 14:35
c96b59e
Код
Авторство
О чём код?
import os from src import parser def test_parse_and_extract(tmp_path): sample = os.path.join(os.path.dirname(__file__), "../data/sample_logs.csv") sample = os.path.normpath(sample) df = parser.parse_csv(sample) assert not df.empty key = parser.extract_key_events(df) assert all(e in parser.RECOGNIZED_EVENTS for e in key["event_type"].unique())