Skip to content

Commit

Permalink
fix linted errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stared committed Jan 15, 2024
1 parent c6c9f2d commit ff27049
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/integration_tests/test_download_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_file_name_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit ff27049

Please sign in to comment.