from logging import NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL from server.urlhandler import path import testmod SETUP = { "setup": { "log_level": DEBUG }, "server": { "port": 8080, } } urls = [ path("/", "static-file", "index.html"), path("/func", "function", testmod.work) ]