File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
import pytest
3
3
import os
4
-
5
4
from dvc .remote .s3 import RemoteS3
6
-
5
+ from dvc . utils import walk_files
7
6
from tests .remotes import GCP , S3Mocked
8
7
9
8
remotes = [GCP , S3Mocked ]
@@ -145,8 +144,12 @@ def test_download_dir(remote, tmpdir):
145
144
assert len (list (walk_files (path , None ))) == 7
146
145
assert (data_dir / "alice" ).read_text (encoding = "utf-8" ) == "alice"
147
146
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"
149
150
assert (data_dir / "subdir" / "1" ).read_text (encoding = "utf-8" ) == "1"
150
151
assert (data_dir / "subdir" / "2" ).read_text (encoding = "utf-8" ) == "2"
151
152
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