Remove the non-unit test dependencies from the unit test inputs

This commit is contained in:
Jean-Paul Calderone 2023-03-21 08:56:50 -04:00
parent 41d5538921
commit dd8f6d408d

View File

@ -48,19 +48,15 @@ let
zope_interface
] ++ pickExtraDependencies pythonExtraDependencies extrasNames;
pythonCheckDependencies = with pythonPackages; [
unitTestDependencies = with pythonPackages; [
beautifulsoup4
fixtures
hypothesis
mock
paramiko
prometheus-client
pytest
pytest-timeout
pytest-twisted
testtools
towncrier
];
in
buildPythonPackage {
inherit pname version;
@ -68,7 +64,7 @@ buildPythonPackage {
propagatedBuildInputs = pythonPackageDependencies;
inherit doCheck;
checkInputs = pythonCheckDependencies;
checkInputs = unitTestDependencies;
checkPhase = ''
export TAHOE_LAFS_HYPOTHESIS_PROFILE=ci
python -m twisted.trial -j $NIX_BUILD_CORES allmydata