aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_downloader_http.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_downloader_http.py')
-rw-r--r--test/test_downloader_http.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/test_downloader_http.py b/test/test_downloader_http.py
index 3b65859..a422141 100644
--- a/test/test_downloader_http.py
+++ b/test/test_downloader_http.py
@@ -16,6 +16,7 @@ from test.helper import http_server_port, try_rm
from hypervideo_dl import YoutubeDL
from hypervideo_dl.downloader.http import HttpFD
from hypervideo_dl.utils import encodeFilename
+from hypervideo_dl.utils._utils import _YDLLogger as FakeLogger
TEST_DIR = os.path.dirname(os.path.abspath(__file__))
@@ -67,17 +68,6 @@ class HTTPTestRequestHandler(http.server.BaseHTTPRequestHandler):
assert False
-class FakeLogger:
- def debug(self, msg):
- pass
-
- def warning(self, msg):
- pass
-
- def error(self, msg):
- pass
-
-
class TestHttpFD(unittest.TestCase):
def setUp(self):
self.httpd = http.server.HTTPServer(