From 0d271a9944c74a96fd417f52e533debff9cc2d0a Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 5 Feb 2025 08:04:56 +0100 Subject: [PATCH] try fixing test? --- src/backend/InvenTree/InvenTree/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/InvenTree/InvenTree/test_api.py b/src/backend/InvenTree/InvenTree/test_api.py index 975368f16b..e582db8736 100644 --- a/src/backend/InvenTree/InvenTree/test_api.py +++ b/src/backend/InvenTree/InvenTree/test_api.py @@ -473,7 +473,7 @@ class GeneralApiTests(InvenTreeAPITestCase): # File is not a json with self.assertLogs(logger='inventree', level='ERROR') as log: - respo = read_license_file(Path(sample_file.file.name)) + respo = read_license_file(Path(str(sample_file.file.name))) self.assertEqual(respo, []) self.assertIn('Failed to parse license file', str(log.output))