File: conftest.py

package info (click to toggle)
pytest-tornasync 0.6.0.post2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 136 kB
  • sloc: python: 222; sh: 9; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
import pytest

import tornado.web

from test import MainHandler

pytest_plugins = ["pytester"]


@pytest.fixture
def app():
    return tornado.web.Application([(r"/", MainHandler)])