From 820b89e67680087c30b3a22e0d845f002727fc20 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sun, 9 Jul 2017 00:30:10 +0100 Subject: [PATCH] [tools] Added executables test for git tools. --- vigil/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vigil/tools.py b/vigil/tools.py index 9c2dd56..a678789 100644 --- a/vigil/tools.py +++ b/vigil/tools.py @@ -714,7 +714,7 @@ def _is_tracked_in_git(path): return returncode == 0 -@deps(deps={"git"}, url="git") +@deps(deps={"git"}, url="git", executables={"git"}) def git_diff(path): # FIX: Add to tools_test.py if not _is_tracked_in_git(path): return Status.not_applicable, fill3.Text("") @@ -724,7 +724,7 @@ def git_diff(path): # FIX: Add to tools_test.py fill3.Text(stdout)) -@deps(deps={"git"}, url="git") +@deps(deps={"git"}, url="git", executables={"git"}) def git_blame(path): # FIX: Add to tools_test.py stdout, stderr, returncode = _do_command( ["git", "blame", "--show-stats", "--date=short", path])