mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-01-03 01:27:05 +01:00
tests/test_check.py: Fix unused result
We don't need to capture the function's return value here because pytest will capture stdout from the function.
This commit is contained in:
parent
62ef2a4489
commit
e801042340
@ -201,7 +201,7 @@ def test_check_uncommon_filename_extension(capsys):
|
|||||||
|
|
||||||
value = 'file.pdf.lck'
|
value = 'file.pdf.lck'
|
||||||
|
|
||||||
result = check.filename_extension(value)
|
check.filename_extension(value)
|
||||||
|
|
||||||
captured = capsys.readouterr()
|
captured = capsys.readouterr()
|
||||||
assert captured.out == f'Filename with uncommon extension: {value}\n'
|
assert captured.out == f'Filename with uncommon extension: {value}\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user