Skip to content
Snippets Groups Projects
Commit d83ca854 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

ui: factor out ui.load() to create a ui without loading configs (API)

This allows us to write doctests depending on a ui object, but not on global
configs.

ui.load() is a class method so we can do wsgiui.load(). All ui() calls but
for doctests are replaced with ui.load(). Some of them could be changed to
not load configs later.
parent cbeb54ec
No related branches found
No related tags found
No related merge requests found
Showing
with 38 additions and 27 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment