Use development mode for tox testenv 44/13344/14
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 6 Nov 2018 07:10:05 +0000 (15:10 +0800)
committerThanh Ha <zxiiro@gmail.com>
Wed, 25 Mar 2020 15:07:06 +0000 (11:07 -0400)
Speeds up tests slighly as it skips the sdist install.

Change-Id: Ic4d4b860b373b1d1cd18ca2375971422f0034c4f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/conftest.py [new file with mode: 0644]
tox.ini

diff --git a/lftools/conftest.py b/lftools/conftest.py
new file mode 100644 (file)
index 0000000..8a9e8aa
--- /dev/null
@@ -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 73c163f..6fc52f1 100644 (file)
--- 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