mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
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()]))
|
lambda **x: (x, [x.keys()]))
|
||||||
pypiserver.paste_app_factory({}, **conf_options)
|
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