From 4da9a33d85e09b13cacec26de986d037adcdaddc Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Mon, 27 Sep 2021 15:25:18 +0200 Subject: [PATCH] For sake of coverage --- tests/test_papi.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_papi.py b/tests/test_papi.py index e551a57..e11d425 100644 --- a/tests/test_papi.py +++ b/tests/test_papi.py @@ -71,3 +71,6 @@ def test_sample_report(): assert rjson[0] == "-1#Test channel error" +def test_cover(): + with pytest.raises(ValueError): + testutils.probe_sample_body(status="erruer")