setup.py: depend on 'mock' when using [test] extra

I think this is useful enough that we should have it available when
running tests.

refs ticket:2777
This commit is contained in:
Brian Warner 2016-04-26 11:17:33 -07:00
parent d2ab4c593b
commit 84a1064b87

View File

@ -267,7 +267,7 @@ setup(name=APPNAME,
classifiers=trove_classifiers,
test_suite="allmydata.test",
install_requires=install_requires,
extras_require={"test": ["pyflakes", "coverage"],
extras_require={"test": ["pyflakes", "coverage", "mock"],
},
package_data={"allmydata.web": ["*.xhtml",
"static/*.js", "static/*.png", "static/*.css",