Skip to content

Commit 1b95cb5

Browse files
authored
chore: fix lfs doctor test (#1286)
1 parent 86c3327 commit 1b95cb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/core/commands/test_doctor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_git_hooks_modified(runner, project):
6767

6868
def test_lfs_broken_history(runner, client, tmp_path):
6969
"""Test lfs migrate info check on a broken history."""
70-
big_file = tmp_path / 'big-file.ipynb'
70+
big_file = tmp_path / 'big-file.bin'
7171
with open(big_file, 'w') as file_:
7272
file_.seek(client.minimum_lfs_file_size)
7373
file_.write('some-data')
@@ -86,11 +86,11 @@ def test_lfs_broken_history(runner, client, tmp_path):
8686
result = runner.invoke(cli, ['doctor'])
8787
assert 1 == result.exit_code
8888
assert 'Git history contains large files' in result.output
89-
assert '*.ipynb' in result.output
89+
assert '*.bin' in result.output
9090

9191
# Exclude *.ipynb files from LFS in .renkulfsignore
9292
(client.path / client.RENKU_LFS_IGNORE_PATH).write_text(
93-
'\n'.join(['*swp', '*ipynb', '.DS_Store'])
93+
'\n'.join(['*swp', '*.bin', '.DS_Store'])
9494
)
9595

9696
result = runner.invoke(cli, ['doctor'])

0 commit comments

Comments
 (0)