python3Packages.pytest-testmon: only run tests which don't import unittest_mixins

This commit is contained in:
Jonathan Ringer 2019-12-21 14:34:51 -08:00 committed by Frederik Rietdijk
parent 38f1f74324
commit 82edff8207

@ -14,14 +14,15 @@ buildPythonPackage rec {
sha256 = "b823b03faf5778d1e15fb9f52e104df4da9c1021daeb313b339fccbbfb8dbd5f";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ coverage ];
checkInputs = [ pytest ];
# avoid tests which try to import unittest_mixins
# unittest_mixins doesn't seem to be very active
checkPhase = ''
pytest --deselect=test/test_testmon.py::TestmonDeselect::test_dependent_testmodule
cd test
pytest test_{core,process_code,pytest_assumptions}.py
'';
meta = with lib; {