forked from mirrors/nixpkgs
Merge pull request #169114 from voidus/fix-pytest-testmon
Fix pytest-testmon
This commit is contained in:
commit
bcb0b42837
|
@ -16,16 +16,11 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-6gWWCtm/GHknhjLyRdVf42koeaSKzk5/V0173DELmj0=";
|
sha256 = "sha256-6gWWCtm/GHknhjLyRdVf42koeaSKzk5/V0173DELmj0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ coverage ];
|
propagatedBuildInputs = [ pytest coverage ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
# The project does not include tests since version 1.3.0
|
||||||
|
doCheck = false;
|
||||||
# avoid tests which try to import unittest_mixins
|
pythonImportsCheck = [ "testmon" ];
|
||||||
# unittest_mixins doesn't seem to be very active
|
|
||||||
checkPhase = ''
|
|
||||||
cd test
|
|
||||||
pytest test_{core,process_code,pytest_assumptions}.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/tarpas/pytest-testmon/";
|
homepage = "https://github.com/tarpas/pytest-testmon/";
|
||||||
|
|
Loading…
Reference in a new issue