aggiunti test

1. Test di connessione
	quando l'utente entra nell'addon

2. test per il controllo degli url
	questo test è stato inserito per testing
This commit is contained in:
greko17
2019-07-29 19:21:36 +02:00
parent 383cba7354
commit 1b997ae1f9
5 changed files with 86 additions and 0 deletions

View File

@@ -30,6 +30,13 @@ def start():
# Test if all the required directories are created
config.verify_directories_created()
# controlla se l'utente ha qualche problema di connessione
# se lo ha, non lo fa entrare nell'addon e visualizza un messaggio
# se tutto ok, entra nell'addon
from kdicc import test_conn
test_conn(is_exit = True, check_dns = True, view_msg = True,
lst_urls = [], lst_site_check_dns = [], in_addon = True)
def run(item=None):
logger.info()