From 5151987063eab58b10a2dd8e831ec036df217531 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 23 Mar 2021 01:12:04 +0300 Subject: Convert Path object to a str * gn3/file_utils.py (cache_ipfs_file): Return a str instead of a path object. * tests/unit/test_file_utils.py: Update failing tests. --- tests/unit/test_file_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit/test_file_utils.py b/tests/unit/test_file_utils.py index abe7aa6..219db0e 100644 --- a/tests/unit/test_file_utils.py +++ b/tests/unit/test_file_utils.py @@ -116,5 +116,5 @@ extracting the file""" "QmQPeNsJPyVWPFDVHb" "77w8G42Fvo15z4bG2X8D2GhfbSXc-test/" "genotype.txt"), - target=f"{test_dir}/genotype.txt" + target=f"{test_dir}" ) -- cgit v1.2.3