コード例 #1
0
ファイル: freeze_tests.py プロジェクト: jagajaga/qutebrowser
def get_build_exe_options():
    """Get build_exe options with additional includes."""
    opts = freeze.get_build_exe_options(skip_html=True)
    opts['includes'] += pytest.freeze_includes()  # pylint: disable=no-member
    opts['includes'] += ['unittest.mock', 'PyQt5.QtTest']
    opts['packages'].append('qutebrowser')
    return opts
コード例 #2
0
ファイル: freeze_tests.py プロジェクト: r8b7xy/qutebrowser
def get_build_exe_options():
    """Get build_exe options with additional includes."""
    opts = freeze.get_build_exe_options(skip_html=True)
    opts["includes"] += pytest.freeze_includes()  # pylint: disable=no-member
    opts["includes"] += ["unittest.mock", "PyQt5.QtTest", "hypothesis", "bs4"]
    opts["packages"].append("qutebrowser")
    return opts
コード例 #3
0
ファイル: freeze_tests.py プロジェクト: robomica/qutebrowser
def get_build_exe_options():
    """Get build_exe options with additional includes."""
    opts = freeze.get_build_exe_options(skip_html=True)
    opts['includes'] += pytest.freeze_includes()  # pylint: disable=no-member
    opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4']
    opts['packages'].append('qutebrowser')
    return opts
コード例 #4
0
def get_build_exe_options():
    """Get build_exe options with additional includes."""
    opts = freeze.get_build_exe_options(skip_html=True)
    opts['includes'] += pytest.freeze_includes()
    opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
                         'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue']

    httpbin_dir = os.path.dirname(httpbin.__file__)
    opts['include_files'] += [
        ('tests/end2end/data', 'end2end/data'),
        (os.path.join(httpbin_dir, 'templates'), 'end2end/templates'),
    ]

    opts['packages'].append('qutebrowser')
    return opts
コード例 #5
0
ファイル: freeze_tests.py プロジェクト: varzan/qutebrowser
def get_build_exe_options():
    """Get build_exe options with additional includes."""
    opts = freeze.get_build_exe_options(skip_html=True)
    opts['includes'] += pytest.freeze_includes()  # pylint: disable=no-member
    opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
                         'httpbin', 'jinja2.ext', 'xvfbwrapper']

    httpbin_dir = os.path.dirname(httpbin.__file__)
    opts['include_files'] += [
        ('tests/integration/data', 'integration/data'),
        (os.path.join(httpbin_dir, 'templates'), 'integration/templates'),
    ]

    opts['packages'].append('qutebrowser')
    return opts