Closed Syphdias closed 5 years ago
Removing the
git init
s from the test makes them dependant on each other.. Was this done because of performance reasons?
As I understand it, the setUp
and tearDown
run separately for each test function. So the the cd $FOLDER
and git init
is already done in setUp
. So this shouldn't introduce extra dependencies, should it?
Ha! You are right. I didn't see that because it was already there and therefore didn't show up in the diff.
Thx @Syphdias .
This PR does some modifications to the git unit tests:
HOME
to test folder so the global.gitconfig
is created in this folder. (I just realized that the setting ofOLD_GIT_AUTHOR_EMAIL
andOLD_GIT_AUTHOR_NAME
is also made unnecessary by this since the real global gitconfig is never touched)