Merge pull request #608 from tahoe-lafs/3029.install-test-plugins

Install test plugins

Fixes: ticket:3029
This commit is contained in:
Jean-Paul Calderone 2019-05-15 12:03:59 -04:00 committed by GitHub
commit 4a6fae142c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

0
newsfragments/3029.minor Normal file
View File

View File

@ -249,7 +249,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
"test": PleaseUseTox,
},
package_dir = {'':'src'},
packages=find_packages('src'),
packages=find_packages('src') + ['allmydata.test.plugins'],
classifiers=trove_classifiers,
python_requires="<3.0",
install_requires=install_requires,

10
tox.ini
View File

@ -9,7 +9,6 @@ twisted = 1
[tox]
envlist = py27
minversion = 2.4
skipsdist = True
[testenv]
passenv = TAHOE_LAFS_* PIP_* SUBUNITREPORTER_* USERPROFILE HOMEDRIVE HOMEPATH
@ -38,9 +37,12 @@ deps =
# regressions in new releases of this package that cause us the kind of
# suffering we're trying to avoid with the above pins.
certifi
# We add usedevelop=True for speed, and extras=test to get things like "mock"
# that are required for our unit tests.
usedevelop = True
# We add usedevelop=False because testing against a true installation gives
# more useful results.
usedevelop = False
# We use extras=test to get things like "mock" that are required for our unit
# tests.
extras = test
commands =
tahoe --version