In addition to #22, in order to use depx as a pip-installable, we need to be able to find the template.html where ever we are. I drafted a proposal here based on depx/template.html as the first choice and then inspecting site-packages… what do you think about it?
Also, any strategies for tests? Anything better than mocking sys.path and pathlib.Path.exists method?
In addition to #22, in order to use depx as a pip-installable, we need to be able to find the
template.html
where ever we are. I drafted a proposal here based ondepx/template.html
as the first choice and then inspectingsite-packages
… what do you think about it?Also, any strategies for tests? Anything better than mocking
sys.path
andpathlib.Path.exists
method?