From 8e86b13ab1ba6f2d97e239dd57f12242f20f1737 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 6 Nov 2018 15:10:05 +0800 Subject: [PATCH] Use development mode for tox testenv Speeds up tests slighly as it skips the sdist install. Change-Id: Ic4d4b860b373b1d1cd18ca2375971422f0034c4f Signed-off-by: Thanh Ha --- lftools/conftest.py | 9 +++++++++ tox.ini | 1 + 2 files changed, 10 insertions(+) create mode 100644 lftools/conftest.py 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 -- 2.16.6