Files
shell-history-automation-tool/shellhist/tests/test_patterns.py

10 lines
276 B
Python

"""Tests for pattern detection algorithms."""
from shellhist.core import HistoryEntry, HistoryStore
from shellhist.core.patterns import (
ngram_analysis,
detect_repetitive_commands,
detect_command_pairs,
detect_command_triplets,
detect_common_sequences,
)