aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-testmon
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-01-12 01:00:12 +0000
committerKatharina Fey <kookie@spacekookie.de>2020-01-12 01:00:12 +0000
commiteeaf5d25d5f6ae7ae1f5bf8a3dee4559693f8147 (patch)
treeafc41ca8dde96b41089ca324533084aef570322f /nixpkgs/pkgs/development/python-modules/pytest-testmon
parent63c4c4dda49dc69e5812faa7ef8406180998f3ae (diff)
parente4134747f5666bcab8680aff67fa3b63384f9a0f (diff)
Merge commit 'e4134747f5666bcab8680aff67fa3b63384f9a0f'
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; {