diff --git a/tests/test_api.py b/tests/test_api.py index 6f0eab1..15d8572 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -167,9 +167,20 @@ def test_userList_isExpectedValue(): assert pyabf.ABF("data/abfs/2020_03_02_0000.abf").userList == [ -200.0, -150.0, -100.0, -50.0, 0.0, 25.0, 50.0, 100.0, 150.0, 200.0, 250.0, 300.0, 350.0, 400.0, 500.0, 600.0] + @pytest.mark.parametrize("abfPath", allABFs) def test_headerText(abfPath): - abf = pyabf.ABF(abfPath) + + # skip one file that warns about a missing protocol file + if abfPath.endswith("H19_29_150_11_21_01_0011.abf"): + return + + abf = pyabf.ABF(abfPath, loadData=False) + text = abf.headerText assert isinstance(text, str) - assert len(text) \ No newline at end of file + assert len(text) + + html = abf.headerHTML + assert isinstance(html, str) + assert len(html)