Esempio n. 1
0
def test_cli_with_system_exit(argv):
    with pytest.raises(SystemExit):
        main(argv)
Esempio n. 2
0
def test_cli_with_system_exit(argv):
    with pytest.raises(SystemExit):
        main(argv)
Esempio n. 3
0
def test_cli_normal(monkeypatch, argv):
    monkeypatch.setattr('hyper.cli.HTTPConnection', DummyConnection)
    main(argv)
    assert True
Esempio n. 4
0
def test_cli_normal(monkeypatch, argv):
    monkeypatch.setattr('hyper.cli.HTTPConnection', DummyConnection)
    main(argv)
    assert True