test_examples(): test without debug messages first
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 6 Apr 2017 17:15:19 +0000 (10:15 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Fri, 7 Apr 2017 23:40:15 +0000 (16:40 -0700)
That way, we are not drowning in messages when a test would also fail
without debugging enabled.

test/test_examples.py

index 90d0218504cd5a617c426643bd1f644f12af98fa..18e858b8a88282f602274ee80df126f45d2866f2 100755 (executable)
@@ -62,7 +62,7 @@ def test_hello(tmpdir, name, options):
 
 @pytest.mark.parametrize("name", ('passthrough', 'passthrough_fh',
                                   'passthrough_ll'))
-@pytest.mark.parametrize("debug", (True, False))
+@pytest.mark.parametrize("debug", (False, True))
 def test_passthrough(tmpdir, name, debug, capfd):
     
     # Avoid false positives from libfuse debug messages