Merge pull request #403 from pycontribs/fix/azure

Assure we have HOME defined during testing
diff --git a/tests/check_added_large_files_test.py b/tests/check_added_large_files_test.py
index 7f5e418..2f67d1b 100644
--- a/tests/check_added_large_files_test.py
+++ b/tests/check_added_large_files_test.py
@@ -76,8 +76,9 @@
 
 
 @xfailif_no_gitlfs
-def test_allows_gitlfs(temp_git_dir):  # pragma: no cover
+def test_allows_gitlfs(temp_git_dir, monkeypatch):  # pragma: no cover
     with temp_git_dir.as_cwd():
+        monkeypatch.setenv(str('HOME'), str(temp_git_dir.strpath))
         cmd_output('git', 'lfs', 'install')
         temp_git_dir.join('f.py').write('a' * 10000)
         cmd_output('git', 'lfs', 'track', 'f.py')
@@ -87,8 +88,9 @@
 
 
 @xfailif_no_gitlfs
-def test_moves_with_gitlfs(temp_git_dir):  # pragma: no cover
+def test_moves_with_gitlfs(temp_git_dir, monkeypatch):  # pragma: no cover
     with temp_git_dir.as_cwd():
+        monkeypatch.setenv(str('HOME'), str(temp_git_dir.strpath))
         cmd_output('git', 'lfs', 'install')
         cmd_output('git', 'lfs', 'track', 'a.bin', 'b.bin')
         # First add the file we're going to move