From 47840462493cd18a3295f364abe18d042fb7be25 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 19 May 2009 20:15:39 +0200 Subject: [PATCH] adding not implemented test to not forget about it --HG-- branch : trunk --- py/test/dist/testing/test_dsession.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/py/test/dist/testing/test_dsession.py b/py/test/dist/testing/test_dsession.py index dc5fadc30..b712751f2 100644 --- a/py/test/dist/testing/test_dsession.py +++ b/py/test/dist/testing/test_dsession.py @@ -329,7 +329,6 @@ class TestDSession: session.senditems_load([item1]) # node2pending will become empty when the loop sees the report rep = run(item1, node) - session.queueevent("pytest_itemtestreport", rep=run(item1, node)) # but we have a collection pending @@ -368,3 +367,13 @@ class TestDSession: assert node.gateway.spec.popen #XXX eq.geteventargs("pytest_testrunfinish") + @py.test.mark.xfail("test implementation missing") + def test_collected_function_causes_remote_skip_at_module_level(self, testdir): + p = testdir.makepyfile(""" + import py + py.test.importorskip("xyz") + def test_func(): + pass + """) + # we need to be able to collect test_func locally but not in the subprocess + XXX