aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-testmon
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-testmon')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
index ed1b754a996..b8535da4c7a 100644
--- a/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
@@ -7,21 +7,22 @@
buildPythonPackage rec {
pname = "pytest-testmon";
- version = "0.9.19";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "f622fd9d0f5a0df253f0e6773713c3df61306b64abdfb202d39a85dcba1d1f59";
+ 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; {