Skip to content

Commit 2d8558e

Browse files
committed
Remove prefix on storage integ test
1 parent a4e555e commit 2d8558e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/storage/test_file_pipeline_storage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ async def test_find():
1919
base_dir="tests/fixtures/text/input",
2020
)
2121
items = list(storage.find(file_pattern=re.compile(r".*\.txt$")))
22-
assert items == [str(Path("tests/fixtures/text/input/dulce.txt"))]
23-
output = await storage.get("tests/fixtures/text/input/dulce.txt")
22+
assert items == [str(Path("dulce.txt"))]
23+
output = await storage.get("dulce.txt")
2424
assert len(output) > 0
2525

2626
await storage.set("test.txt", "Hello, World!", encoding="utf-8")
@@ -35,7 +35,7 @@ async def test_get_creation_date():
3535
storage = FilePipelineStorage()
3636

3737
creation_date = await storage.get_creation_date(
38-
"tests/fixtures/text/input/dulce.txt"
38+
"dulce.txt"
3939
)
4040

4141
datetime_format = "%Y-%m-%d %H:%M:%S %z"

0 commit comments

Comments
 (0)