proxytranslate in updateDomains e timeout di 60 secondi nei test

This commit is contained in:
mac12m99
2021-01-31 20:30:17 +01:00
parent e0fcc9c11c
commit feaf9fb826
5 changed files with 18 additions and 5 deletions

View File

@@ -7,7 +7,6 @@
# export KOD_TST_CH=channel
# python tests/test_generic.py
import html
import json
import os
import sys
import unittest
@@ -49,10 +48,13 @@ sys.path.insert(0, librerias)
from core.support import typo
from core.item import Item
from core.httptools import downloadpage
from core import servertools
from core import servertools, httptools
import channelselector
import re
httptools.HTTPTOOLS_DEFAULT_DOWNLOAD_TIMEOUT = 60
outDir = os.path.join(os.getcwd(), 'reports')
validUrlRegex = re.compile(
r'^(?:http|ftp)s?://' # http:// or https://