diff --git a/tests/unit/remote/test_remote_dir.py b/tests/unit/remote/test_remote_dir.py index f1e776760..b9296c824 100644 --- a/tests/unit/remote/test_remote_dir.py +++ b/tests/unit/remote/test_remote_dir.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- import pytest import os - from dvc.remote.s3 import RemoteS3 - +from dvc.utils import walk_files from tests.remotes import GCP, S3Mocked remotes = [GCP, S3Mocked] @@ -145,8 +144,12 @@ def test_download_dir(remote, tmpdir): assert len(list(walk_files(path, None))) == 7 assert (data_dir / "alice").read_text(encoding="utf-8") == "alice" assert (data_dir / "alpha").read_text(encoding="utf-8") == "alpha" - assert (data_dir / "subdir-file.txt").read_text(encoding="utf-8") == "subdir" + assert (data_dir / "subdir-file.txt").read_text( + encoding="utf-8" + ) == "subdir" assert (data_dir / "subdir" / "1").read_text(encoding="utf-8") == "1" assert (data_dir / "subdir" / "2").read_text(encoding="utf-8") == "2" assert (data_dir / "subdir" / "3").read_text(encoding="utf-8") == "3" - assert (data_dir / "subdir" / "empty_file").read_text(encoding="utf-8") == "" + assert (data_dir / "subdir" / "empty_file").read_text( + encoding="utf-8" + ) == ""