Added unit tests for dependencies

This commit is contained in:
Tobias Macey
2015-11-20 11:20:01 -05:00
parent 862426576f
commit 0ee4c3efa7
4 changed files with 62 additions and 11 deletions

View File

@@ -63,11 +63,12 @@ def install_environment(
with in_env(repo_cmd_runner, version) as env:
env.run("cd '{prefix}' && pip install .")
if additional_dependencies:
env.run("cd '{prefix}' && pip install {deps}".format(
env.run(
"cd '{prefix}' && pip install " +
' '.join(
shell_escape(dep) for dep in additional_dependencies
)
))
)
def run_hook(repo_cmd_runner, hook, file_args):