wrapper.py necessarily has an unusual structure and is inherently awkward to test (it's currently done with some unlovely mocking and monkeypatching). Anything that can be factored out and put in util.py should be -- chiefly the CLI processing and server setup code blocks.
wrapper.pynecessarily has an unusual structure and is inherently awkward to test (it's currently done with some unlovely mocking and monkeypatching). Anything that can be factored out and put inutil.pyshould be -- chiefly the CLI processing and server setup code blocks.