File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22import pytest
33import os
4-
54from dvc .remote .s3 import RemoteS3
6-
5+ from dvc . utils import walk_files
76from tests .remotes import GCP , S3Mocked
87
98remotes = [GCP , S3Mocked ]
@@ -145,8 +144,12 @@ def test_download_dir(remote, tmpdir):
145144 assert len (list (walk_files (path , None ))) == 7
146145 assert (data_dir / "alice" ).read_text (encoding = "utf-8" ) == "alice"
147146 assert (data_dir / "alpha" ).read_text (encoding = "utf-8" ) == "alpha"
148- assert (data_dir / "subdir-file.txt" ).read_text (encoding = "utf-8" ) == "subdir"
147+ assert (data_dir / "subdir-file.txt" ).read_text (
148+ encoding = "utf-8"
149+ ) == "subdir"
149150 assert (data_dir / "subdir" / "1" ).read_text (encoding = "utf-8" ) == "1"
150151 assert (data_dir / "subdir" / "2" ).read_text (encoding = "utf-8" ) == "2"
151152 assert (data_dir / "subdir" / "3" ).read_text (encoding = "utf-8" ) == "3"
152- assert (data_dir / "subdir" / "empty_file" ).read_text (encoding = "utf-8" ) == ""
153+ assert (data_dir / "subdir" / "empty_file" ).read_text (
154+ encoding = "utf-8"
155+ ) == ""
You can’t perform that action at this time.
0 commit comments