コード例 #1
0
ファイル: test_cli.py プロジェクト: oppsig/jottalib
def test_scanner():
    with pytest.raises(SystemExit):
        cli.scanner(
            []
        )  # argparse should raise systemexit without the mandatory arguments
コード例 #2
0
def test_scanner():
    cli.scanner()
コード例 #3
0
ファイル: test_cli.py プロジェクト: cowai/jottalib
def test_scanner():
    with pytest.raises(SystemExit):
        cli.scanner([]) # argparse should raise systemexit without the mandatory arguments
コード例 #4
0
ファイル: test_cli.py プロジェクト: forsberg/jottalib
def test_scanner():
    cli.scanner()