mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
tests: make whitespace between functions and classes consistent
Mostly, this means two blank lines between classes and functions and one line between methods. Since these checks are currently in preview, they are done in a separate ruff invocation to avoid turning ALL the preview checks on at the same time.
This commit is contained in:
parent
98e470b3a8
commit
17e8200733
8 changed files with 23 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ except ImportError:
|
|||
'Warning: Python package impacket is required for smb testing; '
|
||||
'use pip or your package manager to install it\n')
|
||||
sys.exit(1)
|
||||
|
||||
from impacket import smb as imp_smb
|
||||
from impacket import smbserver as imp_smbserver
|
||||
from impacket.nt_errors import STATUS_ACCESS_DENIED, STATUS_NO_SUCH_FILE, STATUS_SUCCESS
|
||||
|
|
@ -53,6 +54,7 @@ TESTS_MAGIC = "TESTS_MAGIC"
|
|||
VERIFIED_REQ = "verifiedserver"
|
||||
VERIFIED_RSP = "WE ROOLZ: {pid}\n"
|
||||
|
||||
|
||||
class ShutdownHandler(threading.Thread):
|
||||
"""
|
||||
Cleanly shut down the SMB server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue