python3Packages.pytest-testmon: only run tests which don't import unittest_mixins
This commit is contained in:
parent
38f1f74324
commit
82edff8207
@ -14,14 +14,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "b823b03faf5778d1e15fb9f52e104df4da9c1021daeb313b339fccbbfb8dbd5f";
|
sha256 = "b823b03faf5778d1e15fb9f52e104df4da9c1021daeb313b339fccbbfb8dbd5f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ coverage ];
|
propagatedBuildInputs = [ coverage ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
# avoid tests which try to import unittest_mixins
|
||||||
|
# unittest_mixins doesn't seem to be very active
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest --deselect=test/test_testmon.py::TestmonDeselect::test_dependent_testmodule
|
cd test
|
||||||
|
pytest test_{core,process_code,pytest_assumptions}.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user