git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #98110 from Pamplemousse/topydo

topydo: fix tests

commitcbe0b2e2c5194ee2f729126e73d807fc337377c1 authorRobert Scott <code@humanleg.org.uk> dateWed 16 Sep 2020, 23:49 (6 years ago) parent9dfcba8c603f62
1 file changed+8−1
pkgs/applications/misc/topydo/default.nix+8−1
pkgs/applications/misc/topydo/default.nix+8−1
@@ -22,7 +22,14 @@ buildPythonApplication rec {
2222 watchdog
2323 ];
2424
25− checkInputs = [ mock freezegun coverage green pylint ];
25+ checkInputs = [ mock freezegun pylint ];
26+
27+ # Skip test that has been reported multiple times upstream without result:
28+ # bram85/topydo#271, bram85/topydo#274.
29+ checkPhase = ''
30+ substituteInPlace test/test_revert_command.py --replace 'test_revert_ls' 'dont_test_revert_ls'
31+ python -m unittest discover
32+ '';
2633
2734 LC_ALL="en_US.UTF-8";
2835