From: Thanh Ha Date: Tue, 6 Nov 2018 07:10:05 +0000 (+0800) Subject: Use development mode for tox testenv X-Git-Tag: v0.32.0~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F13344%2F14;p=releng%2Flftools.git Use development mode for tox testenv Speeds up tests slighly as it skips the sdist install. Change-Id: Ic4d4b860b373b1d1cd18ca2375971422f0034c4f Signed-off-by: Thanh Ha --- diff --git a/lftools/conftest.py b/lftools/conftest.py new file mode 100644 index 00000000..8a9e8aa5 --- /dev/null +++ b/lftools/conftest.py @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2020 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## diff --git a/tox.ini b/tox.ini index 73c163f0..6fc52f14 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,7 @@ addopts = -p no:warnings basepython = python3 deps = -r{toxinidir}/requirements-test.txt commands = pytest +usedevelop = true [testenv:docs] description = Build the documentation with sphinx