Commit f1e580a
use a fake $HOME for tests
git uses both repo/.git/config and $HOME/.gitconfig, thus
the tests have been picking up my commit.gpgsign=1 . Whilst
pkgcore's git repo fixture can be tweaked to add that suppression,
hygenically it's better to disconnect the users persona
configuration from tests in full.
TL;dr: this stops tests from popping a gpg key decrypt randomly
for my local dev.
Signed-off-by: Brian Harring <[email protected]>
Part-of: #215
Closes: #215
Signed-off-by: Arthur Zamarin <[email protected]>1 parent 0d80eaf commit f1e580a
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | | - | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
11 | 33 | | |
12 | 34 | | |
13 | 35 | | |
| |||
0 commit comments