Used in the test SMB and telnet servers.
Closes #19544
#
"""Server for testing SMB."""
-from __future__ import (absolute_import, division, print_function,
- unicode_literals)
-
import argparse
import logging
import os
import sys
import tempfile
import threading
+import configparser
# Import our curl test data helper
from util import ClosingFileHandler, TestData
-if sys.version_info.major >= 3:
- import configparser
-else:
- import ConfigParser as configparser
-
# impacket needs to be installed in the Python environment
try:
import impacket # noqa: F401
#
"""Module for extracting test data from the test data folder and other utils."""
-from __future__ import (absolute_import, division, print_function,
- unicode_literals)
-
import logging
import os
import re