Skip to content

Commit b2e3fd2

Browse files
committed
fix: test imports
1 parent 3603da8 commit b2e3fd2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/unit/remote/test_remote_dir.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# -*- coding: utf-8 -*-
22
import pytest
33
import os
4-
54
from dvc.remote.s3 import RemoteS3
6-
5+
from dvc.utils import walk_files
76
from tests.remotes import GCP, S3Mocked
87

98
remotes = [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+
) == ""

0 commit comments

Comments
 (0)