Path: blob/main/external/curl/tests/http/testenv/__init__.py
2066 views
#!/usr/bin/env python31# -*- coding: utf-8 -*-2#***************************************************************************3# _ _ ____ _4# Project ___| | | | _ \| |5# / __| | | | |_) | |6# | (__| |_| | _ <| |___7# \___|\___/|_| \_\_____|8#9# Copyright (C) Daniel Stenberg, <[email protected]>, et al.10#11# This software is licensed as described in the file COPYING, which12# you should have received as part of this distribution. The terms13# are also available at https://curl.se/docs/copyright.html.14#15# You may opt to use, copy, modify, merge, publish, distribute and/or sell16# copies of the Software, and permit persons to whom the Software is17# furnished to do so, under the terms of the COPYING file.18#19# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY20# KIND, either express or implied.21#22# SPDX-License-Identifier: curl23#24###########################################################################25# ruff: noqa: F401, E40226import pytest27pytest.register_assert_rewrite("testenv.env", "testenv.curl", "testenv.caddy",28"testenv.httpd", "testenv.nghttpx")2930from .env import Env31from .certs import TestCA, Credentials32from .caddy import Caddy33from .httpd import Httpd34from .curl import CurlClient, ExecResult, RunProfile35from .client import LocalClient36from .nghttpx import Nghttpx, NghttpxQuic, NghttpxFwd37from .vsftpd import VsFTPD383940