summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-testmon
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-12-21 14:34:51 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2019-12-30 16:46:50 +0100
commit82edff82077449b2e361c770215216e282519326 (patch)
treebca69e159d9ed3f2822d234e9a887a1c9ff5e26a /pkgs/development/python-modules/pytest-testmon
parent38f1f74324df7cf02eefce58360662b00470afa3 (diff)
downloadnixpkgs-82edff82077449b2e361c770215216e282519326.tar
nixpkgs-82edff82077449b2e361c770215216e282519326.tar.gz
nixpkgs-82edff82077449b2e361c770215216e282519326.tar.bz2
nixpkgs-82edff82077449b2e361c770215216e282519326.tar.lz
nixpkgs-82edff82077449b2e361c770215216e282519326.tar.xz
nixpkgs-82edff82077449b2e361c770215216e282519326.tar.zst
nixpkgs-82edff82077449b2e361c770215216e282519326.zip
python3Packages.pytest-testmon: only run tests which don't import unittest_mixins
Diffstat (limited to 'pkgs/development/python-modules/pytest-testmon')
-rw-r--r--pkgs/development/python-modules/pytest-testmon/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix
index 3f8fb783408..b8535da4c7a 100644
--- a/pkgs/development/python-modules/pytest-testmon/default.nix
+++ b/pkgs/development/python-modules/pytest-testmon/default.nix
@@ -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; {