mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:43:33 +03:00
tests: alphabetize and group Python imports & add check
- De-duplicates, groups, and sorts imports based on the provided `isort` settings.
This commit is contained in:
parent
4c1b6f5494
commit
98e470b3a8
44 changed files with 110 additions and 134 deletions
|
|
@ -25,16 +25,19 @@
|
|||
###########################################################################
|
||||
# ruff: noqa: F401, E402
|
||||
import pytest
|
||||
|
||||
pytest.register_assert_rewrite("testenv.env", "testenv.curl", "testenv.caddy",
|
||||
"testenv.httpd", "testenv.nghttpx")
|
||||
|
||||
from .env import Env
|
||||
from .certs import TestCA, Credentials
|
||||
# This import must be first to avoid circular imports
|
||||
from .curl import CurlClient, ExecResult, RunProfile # noqa: I001
|
||||
|
||||
from .caddy import Caddy
|
||||
from .httpd import Httpd
|
||||
from .curl import CurlClient, ExecResult, RunProfile
|
||||
from .certs import Credentials, TestCA
|
||||
from .client import LocalClient
|
||||
from .nghttpx import Nghttpx, NghttpxQuic, NghttpxFwd
|
||||
from .vsftpd import VsFTPD
|
||||
from .dante import Dante
|
||||
from .env import Env
|
||||
from .httpd import Httpd
|
||||
from .nghttpx import Nghttpx, NghttpxFwd, NghttpxQuic
|
||||
from .sshd import Sshd
|
||||
from .vsftpd import VsFTPD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue