Skip to content

Commit be5345a

Browse files
Try to fix a single test: test_status.py.
1 parent 6a561db commit be5345a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jupyterlab_git/tests/test_status.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ async def test_status(tmp_path, output, diff_output, expected):
375375
["git", "status", "--porcelain", "-b", "-u", "-z"],
376376
cwd=str(repository),
377377
timeout=20,
378-
env=None,
378+
env=os.environ.copy(),
379379
username=None,
380380
password=None,
381381
is_binary=False,
@@ -391,7 +391,7 @@ async def test_status(tmp_path, output, diff_output, expected):
391391
],
392392
cwd=str(repository),
393393
timeout=20,
394-
env=None,
394+
env=os.environ.copy(),
395395
username=None,
396396
password=None,
397397
is_binary=False,
@@ -400,7 +400,7 @@ async def test_status(tmp_path, output, diff_output, expected):
400400
["git", "show", "--quiet", "CHERRY_PICK_HEAD"],
401401
cwd=str(repository),
402402
timeout=20,
403-
env=None,
403+
env=os.environ.copy(),
404404
username=None,
405405
password=None,
406406
is_binary=False,
@@ -409,7 +409,7 @@ async def test_status(tmp_path, output, diff_output, expected):
409409
["git", "show", "--quiet", "MERGE_HEAD"],
410410
cwd=str(repository),
411411
timeout=20,
412-
env=None,
412+
env=os.environ.copy(),
413413
username=None,
414414
password=None,
415415
is_binary=False,
@@ -418,7 +418,7 @@ async def test_status(tmp_path, output, diff_output, expected):
418418
["git", "rev-parse", "--git-path", "rebase-merge"],
419419
cwd=str(repository),
420420
timeout=20,
421-
env=None,
421+
env=os.environ.copy(),
422422
username=None,
423423
password=None,
424424
is_binary=False,
@@ -427,7 +427,7 @@ async def test_status(tmp_path, output, diff_output, expected):
427427
["git", "rev-parse", "--git-path", "rebase-apply"],
428428
cwd=str(repository),
429429
timeout=20,
430-
env=None,
430+
env=os.environ.copy(),
431431
username=None,
432432
password=None,
433433
is_binary=False,

0 commit comments

Comments
 (0)