File: test_with_statement.py

package info (click to toggle)
pytest-httpserver 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 908 kB
  • sloc: python: 2,382; makefile: 77; sh: 21
file content (6 lines) | stat: -rw-r--r-- 122 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
from pytest_httpserver import HTTPServer


def test_server_with_statement():
    with HTTPServer(port=4001):
        pass