コード例 #1
0
def after_all(context):
    aiohttpretty.deactivate()
    context.server_thread.stop()
コード例 #2
0
def after_all(context):
    aiohttpretty.deactivate()
    context.server_thread.stop()
コード例 #3
0
def pytest_runtest_teardown(item, nextitem):
    if 'aiohttpretty' in item.keywords:
        aiohttpretty.deactivate()
コード例 #4
0
ファイル: conftest.py プロジェクト: 545zhou/waterbutler
def pytest_runtest_teardown(item, nextitem):
    marker = item.get_marker('aiohttpretty')
    if marker is not None:
        aiohttpretty.deactivate()
コード例 #5
0
def pytest_runtest_teardown(item, nextitem):
    marker = item.get_marker('aiohttpretty')
    if marker is not None:
        aiohttpretty.deactivate()