fix linted errors
This commit is contained in:
parent
c6c9f2d94d
commit
ff2704974e
|
@ -41,8 +41,6 @@ def create_basic_args_for_download_runner(test_args: list[str], run_path: Path):
|
|||
(
|
||||
["-s", "EmpireDidNothingWrong", "-L", 3],
|
||||
["-s", "r/EmpireDidNothingWrong", "-L", 3],
|
||||
["-s", "r/EmpireDidNothingWrong", "-L", 3],
|
||||
["-s", "EmpireDidNothingWrong", "-L", 3],
|
||||
["-s", "https://www.reddit.com/r/TrollXChromosomes/", "-L", 3],
|
||||
["-s", "r/TrollXChromosomes/", "-L", 3],
|
||||
["-s", "TrollXChromosomes/", "-L", 3],
|
||||
|
|
|
@ -531,6 +531,6 @@ def test_name_submission(
|
|||
def test_shortened_file_name_ending(
|
||||
test_filename: str, test_ending: str, expected_end: str, test_formatter: FileNameFormatter
|
||||
):
|
||||
result = test_formatter.limit_file_name_length(test_filename, test_ending, Path("."))
|
||||
result = test_formatter.limit_file_name_length(test_filename, test_ending, Path())
|
||||
assert result.name.endswith(expected_end)
|
||||
assert len(str(result)) <= FileNameFormatter.find_max_path_length()
|
||||
|
|
Loading…
Reference in a new issue