コード例 #1
0
def test_help():
    """Calls itself 'nosetests', but reports
    proper help message otherwise.
    """
    try:
        mod.main(['prog', '--help'])
    except SystemExit:
        pass
コード例 #2
0
def test_help():
    """Can be called 'pytest' or something, but reports
    proper help message otherwise.
    """
    try:
        mod.main(['prog', '--help'])
    except SystemExit:
        pass
コード例 #3
0
ファイル: test_ovlp_filter.py プロジェクト: YuJinhui/FALCON
def test_help():
    """Calls itself 'nosetests', but reports
    proper help message otherwise.
    """
    try:
        mod.main(['prog', '--help'])
    except SystemExit:
        pass
コード例 #4
0
ファイル: test_ovlp_filter.py プロジェクト: arvin580/FALCON
def test_help():
    try:
        mod.main(["prog", "--help"])
    except SystemExit:
        pass
コード例 #5
0
def test_help():
    try:
        mod.main(*['prog', '--help'])
    except SystemExit:
        pass
コード例 #6
0
ファイル: fc_ovlp_filter.py プロジェクト: pythseq/FALCON-1
from __future__ import absolute_import

from falcon_kit.mains.ovlp_filter import main
import sys

if __name__ == "__main__":
    main(sys.argv)
コード例 #7
0
ファイル: fc_ovlp_filter.py プロジェクト: rlleras/FALCON
from falcon_kit.mains.ovlp_filter import main
import sys

if __name__ == "__main__":
    main(*sys.argv)