radiobee-aligner / tests /test_loadtext.py
freemt
Update min_samples esp
2f6222b
raw
history blame
381 Bytes
"""Test loadtext."""
import pytest
from radiobee.loadtext import loadtext
def test_loadtext():
"""Test loadtext."""
_ = loadtext("data/test_en.txt")
if _ is not None:
_ = [elm for elm in _.splitlines() if elm.strip()]
assert len(_) == 33
@pytest.mark.xfail
def test_loadtext_from_dir():
"""Test test_loadtext_from_dir."""
_ = loadtext(".")