Spaces:
Runtime error
Runtime error
File size: 381 Bytes
e84d35a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
"""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(".")
|