Extract `subprocess.run` logic repeated in `test_installation` · gitpython-developers/GitPython@84632c7 · GitHub
Skip to content

Commit 84632c7

Browse files
committed
Extract subprocess.run logic repeated in test_installation
This creates a function (technically, a callable `partial` object) for `test_installation` to use instead of repeating `subproces.run` keyword arguments all the time. This relates directly to steps in `_set_up_venv`, and it's makes about as much sense to do it there as in `test_installation`, so it is placed (and described) in `_set_up_venv`.
1 parent 953d161 commit 84632c7

1 file changed

Lines changed: 14 additions & 22 deletions

File tree

test/test_installation.py

Lines changed: 14 additions & 22 deletions

0 commit comments

Comments
 (0)