示例#1
0
def test_paste_app_factory(conf_options: dict) -> None:
    """Test the paste_app_factory method"""
    pypiserver.paste_app_factory({}, **conf_options)  # type: ignore
示例#2
0
def test_paste_app_factory(conf_options, monkeypatch):
    """Test the paste_app_factory method"""
    monkeypatch.setattr('pypiserver.core.configure', lambda **x:
                        (x, [x.keys()]))
    pypiserver.paste_app_factory({}, **conf_options)
示例#3
0
def test_paste_app_factory(conf_options, monkeypatch):
    """Test the paste_app_factory method"""
    monkeypatch.setattr('pypiserver.core.configure',
                        lambda **x: (x, [x.keys()]))
    pypiserver.paste_app_factory({}, **conf_options)