We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cfec76 commit eda6c44Copy full SHA for eda6c44
testing/test_basic.py
@@ -2,8 +2,6 @@
2
3
import sys
4
5
-import pytest
6
-
7
8
def test_fail_later(testdir):
9
testdir.makepyfile("""
@@ -108,13 +106,13 @@ def test_MAIN():
108
106
assert outcomes.get("passed") == 1
109
107
110
111
-@pytest.mark.skip
112
-def test_blocon_in_hook(testdir):
+def test_blockon_in_hook(testdir):
113
testdir.makeconftest("""
114
import pytest_twisted as pt
115
from twisted.internet import reactor, defer
116
117
def pytest_configure(config):
+ pt.init_reactor()
118
d = defer.Deferred()
119
reactor.callLater(0.01, d.callback, 1)
120
pt.blockon(d)
0 commit comments