forked from github.com/pypiserver
Add test to disallow regression
This commit is contained in:
parent
5f1804fd4b
commit
ecfd1796a7
@ -35,5 +35,7 @@ def test_paste_app_factory(conf_options, monkeypatch):
|
||||
lambda **x: (x, [x.keys()]))
|
||||
pypiserver.paste_app_factory({}, **conf_options)
|
||||
|
||||
|
||||
|
||||
def test_app_factory(monkeypatch):
|
||||
monkeypatch.setattr('pypiserver.core.configure',
|
||||
lambda **x: (x, [x.keys()]))
|
||||
assert pypiserver.app() is not pypiserver.app()
|
||||
|
Loading…
Reference in New Issue
Block a user