Home
last modified time | relevance | path

Searched +full:pytest +full:- +full:cov (Results 1 – 25 of 30) sorted by relevance

12

/external/python/google-auth-library-python/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
36 session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION)
37 session.install("-e", ".")
38 session.run("black", "--check", *BLACK_PATHS)
41 "--import-order-style=google",
42 "--application-import-names=google,tests,system_tests",
48 "python", "setup.py", "check", "--metadata", "--restructuredtext", "--strict"
68 CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
70 session.install("-r", "testing/requirements.txt", "-c", constraints_path)
71 session.install("-e", ".", "-c", constraints_path)
[all …]
/external/fonttools/
Dtox.ini3 envlist = mypy, py3{7,8,9}-cov, htmlcov
10 # We need this to be able to install skia-pathops on Linux, which uses a
12 # https://github.com/tox-dev/tox/issues/791#issuecomment-518713438
15 cov: coverage>=4.3
16 pytest
17 pytest-randomly
18 -rrequirements.txt
27 cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert COMPILED"
28 !cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert not COMPILED"
29 # test with or without coverage, passing extra positonal args to pytest
[all …]
/external/python/python-api-core/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 import nox # pytype: disable=import-error
27 BLACK_EXCLUDES = ["--exclude", "^/google/api_core/operations_v1/__init__.py"]
32 # 'docfx' is excluded since it only needs to run in 'docs-presubmit'
64 session.install("flake8", "flake8-import-order", BLACK_VERSION)
67 "black", "--check", *BLACK_EXCLUDES, *BLACK_PATHS,
91 CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
94 # Install all test dependencies, then install this package in-place.
95 session.install("mock", "pytest", "pytest-cov")
97 session.install("-e", ".[grpc]", "-c", constraints_path)
[all …]
/external/python/google-api-python-client/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 "google-auth",
22 "google-auth-httplib2",
26 "pytest",
27 "pytest-cov",
41 "--count",
42 "--select=E9,F63,F7,F82",
43 "--show-source",
44 "--statistics",
79 "--quiet",
[all …]
/external/armnn/python/pyarmnn/
Dtox.ini6 deps = pytest==5.2.0
7 pytest-cov==2.8.1
13 more-itertools==8.12.0
19 …python -m pytest test/ -v {posargs} --junit-xml=test_report_junit-{envname}.xml --cov=pyarmnn --co…
28 commands = python -c "import sys; print('Dev environment created: ' + sys.executable)"
38 python setup.py clean --all
40 python setup.py build_ext --inplace
48 …python ./scripts/generate_docs.py --html --output-dir docs pyarmnn --force --template-dir=./docs_c…
60 …sh -c "pylint --rcfile=pylintconfig src --output-format=parseable --reports=no > pylint_results.tx…
/external/python/setuptools/
Dpyproject.toml1 [build-system]
3 build-backend = "setuptools.build_meta"
4 backend-path = ["."]
7 skip-string-normalization = true
11 [pytest.enabler.black]
12 #addopts = "--black"
14 [pytest.enabler.mypy]
15 #addopts = "--mypy"
17 [pytest.enabler.flake8]
18 addopts = "--flake8"
[all …]
Dsetup.cfg5 author_email = distutils-sig@python.org
10 Development Status :: 5 - Production/Stable
40 pytest >= 6
41 pytest-checkdocs >= 2.4
42 pytest-flake8
43 pytest-black >= 0.3.7; \
45 pytest-cov; \
47 pytest-mypy >= 0.9.1; \
49 pytest-enabler >= 1.0.1
50 pytest-perf
[all …]
/external/python/parse_type/
Dtox.ini11 # tox -e py27
12 # tox -e py37
17 # -- ONLINE USAGE:
29 # -----------------------------------------------------------------------------
31 # -----------------------------------------------------------------------------
32 # install_command = pip install -U {opts} {packages}
36 pytest {posargs:tests}
38 pytest < 5.0; python_version < '3.0' # >= 4.2
39 pytest >= 5.0; python_version >= '3.0'
40 pytest-html >= 1.19.0
[all …]
Dsetup.py2 # -*- coding: utf-8 -*-
25 # -- USE: setuptools
29 # -----------------------------------------------------------------------------
31 # -----------------------------------------------------------------------------
39 "pytest < 5.0; python_version < '3.0'", # >= 4.2
40 "pytest >= 5.0; python_version >= '3.0'",
41 "pytest-html >= 1.19.0",
42 # -- PYTHON 2.6 SUPPORT:
50 # -- NICE-TO-HAVE:
51 # # FILE: setup.cfg -- Use pytest-runner (ptr) as test runner.
[all …]
/external/python/cachetools/
Dtox.ini2 envlist = check-manifest,docs,doctest,flake8,py
6 pytest
7 pytest-cov
9 py.test --basetemp={envtmpdir} --cov=cachetools {posargs}
11 [testenv:check-manifest]
13 check-manifest==0.44; python_version < "3.8"
14 check-manifest; python_version >= "3.8"
16 check-manifest
23 sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
29 sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs {envtmpdir}/doctest
[all …]
/external/python/setuptools/setuptools.egg-info/
Drequires.txt9 pygments-github-lexers==0.0.5
10 sphinx-favicon
11 sphinx-inline-tabs
12 sphinxcontrib-towncrier
18 pytest>=6
19 pytest-checkdocs>=2.4
20 pytest-flake8
21 pytest-enabler>=1.0.1
22 pytest-perf
24 flake8-2020
[all …]
/external/python/httplib2/
Drequirements-test.txt4 pytest-cov==2.5.1
5 pytest-forked==0.2
6 pytest-randomly==1.2.1
7 pytest-timeout==1.2.0
8 pytest-xdist==1.20.0
9 pytest==3.2.1
Dsetup.cfg12 max-line-length = 121
14 [tool:pytest]
17 # --fulltrace
18 # -n auto
19 --cov-config=setup.cfg
20 --cov=httplib2
21 --noconftest
22 --showlocals
23 --strict
24 --tb=short
[all …]
Dsetup.py15 # pytest may be not installed yet
16 import pytest
17 args = ['--forked', '--fulltrace', '--no-cov', 'tests/']
19 args += ['-k', self.test_suite]
20 sys.stderr.write('setup.py:test run pytest {}\n'.format(' '.join(args)))
21 errno = pytest.main(args)
29 g = (line.decode('utf-8').lstrip().split('#', 1)[0].rstrip() for line in f)
49 **Keep-Alive**
50 …Supports HTTP 1.1 Keep-Alive, keeping the socket open and performing multiple requests over the sa…
61 The module can optionally operate with a private cache that understands the Cache-Control:
[all …]
/external/python/google-auth-library-python/testing/
Drequirements.txt7 pytest
8 pytest-cov
9 pytest-localserver
17 pytest-asyncio; python_version > '3.0'
/external/python/dateutil/
Drequirements-dev.txt2 pytest >= 3.0; python_version != '3.3'
3 pytest < 3.3; python_version == '3.3'
4 pytest-cov >= 2.0.0
Dtox.ini16 description = run the unit tests with pytest under {basepython}
19 commands = python -m pytest {posargs: "{toxinidir}/dateutil/test" --cov-config="{toxinidir}/tox.ini…
20 deps = -rrequirements-dev.txt
30 coverage report --rcfile={toxinidir}/tox.ini
37 commands = codecov --file {toxworkdir}/coverage.xml
42 commands = python -m pip list --format=columns
43 python -c 'import sys; print(sys.executable)'
57 deps = -r {toxinidir}/requirements-dev.txt
64 description = invoke sphinx-build to build the HTML docs, check that URIs are valid
66 deps = -r docs/requirements-docs.txt
[all …]
/external/yapf/.github/workflows/
Dci.yml2 …rmation see: https://help.github.com/actions/language-and-framework-guides/using-python-with-githu…
11 runs-on: ${{ matrix.os }}
14 python-version: [2.7, 3.7, 3.8, 3.9]
15 os: [ubuntu-latest, macos-latest]
18 - uses: actions/checkout@v2
19 - name: Set up Python ${{ matrix.python-version }}
20 uses: actions/setup-python@v2
22 python-version: ${{ matrix.python-version }}
23 - name: Install dependencies
25 python -m pip install --upgrade pip
[all …]
/external/python/parse_type/py.requirements/
Dtesting.txt2 # PYTHON PACKAGE REQUIREMENTS FOR: parse_type -- For testing only
5 pytest >= 4.2
6 pytest-html >= 1.16
7 pytest-cov
8 pytest-runner
9 # -- PYTHON 2.6 SUPPORT:
15 # -- NEEDED-FOR: toxcmd.py
/external/autotest/venv/
Drequirements.txt8 mysql-connector-python==8.0.6
16 pyasn1-modules==0.0.8
17 pytest==3.1.3
18 pytest-catchlog==1.2.2
19 pytest-cov==2.5.1
28 #MySQL-python==1.2.5
32 grpcio-tools==1.31.0
Dpytest.ini1 [pytest] section
4 --doctest-modules
5 --durations=5
6 --ignore setup.py
7 --cov lucifer
/external/python/rsa/
Dtox.ini5 [pytest] section
6 addopts = -v --cov rsa --cov-report term-missing
11 pipenv install --dev --deploy
17 pipenv install -v
18 pipenv run py.test --doctest-modules rsa tests/
DPipfile9 [dev-packages]
13 "pytest" = "~=5.0, >=5.0"
14 "pytest-cov" = "~=2.7, >=2.7"
/external/fonttools/Doc/source/
Ddeveloper.rst19 # create new virtual environment called e.g. 'fonttools-venv', or anything you like
20 python -m venv fonttools-venv
23 . fonttools-venv/bin/activate
26 fonttools-venv\Scripts\activate.bat
29 pip install -e .
37 -------
39 To run the test suite, you need to install `pytest <http://docs.pytest.org/en/latest/>`__.
40 When you run the ``pytest`` command, the tests will run against the
56 You can specify a particular testing environment list via the ``-e`` option, or the ``TOXENV`` envi…
58 tox -e py36
[all …]
/external/python/setuptools/setuptools/tests/config/
Dtest_apply_pyprojecttoml.py10 import pytest
28 @pytest.mark.parametrize("url", EXAMPLE_URLS)
29 @pytest.mark.filterwarnings("ignore")
30 @pytest.mark.uses_network
85 requires-python = ">=3.8"
90 {name = "Tzu-Ping Chung"}
96 "Development Status :: 4 - Beta",
107 [project.optional-dependencies]
109 "pytest < 5.0.0",
110 "pytest-cov[all]"
[all …]

12