Commit Graph

7 Commits

Author SHA1 Message Date
Yuya Nishihara
1d44bd2bbb 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.
2016-10-22 14:35:10 +09:00
Yuya Nishihara
8f06b9b68a tests: alias ui as uimod in test-revlog-ancestry/test-ui-verbosity 2016-04-05 23:35:45 +09:00
Pulkit Goyal
de0aaa7281 py3: make test-ui-verbosity use absolute_import 2016-03-29 16:29:21 +05:30
Pulkit Goyal
c93c7768eb py3: make test-ui-verbosity use print_function 2016-03-29 16:27:01 +05:30
Dan Villiom Podlaski Christiansen
f385faac7a *: kill all unnecessary shebangs. 2010-10-26 12:18:39 +02:00
Martin Geisler
aedc0ac57f tests: removed unnecessary execute bit on Python tests 2009-05-17 01:42:21 +02:00
Martin Geisler
a645da9ed1 tests: renamed Python tests to .py 2009-05-17 01:39:31 +02:00