Skip to content

Commit f050322

Browse files
committed
Test for pytest.inlineCallbacks and pytest.blockon
1 parent 54bb3b1 commit f050322

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

testing/test_basic.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ def cmd_opts(request):
4141
return ("--reactor={}".format(reactor),)
4242

4343

44+
def test_inline_callbacks_in_pytest():
45+
assert hasattr(pytest, 'inlineCallacks')
46+
47+
48+
def test_blockon_in_pytest():
49+
assert hasattr(pytest, 'blockon')
50+
51+
4452
def test_fail_later(testdir, cmd_opts):
4553
test_file = """
4654
from twisted.internet import reactor, defer

0 commit comments

Comments
 (0)