From 9ded7b43f6231ee5cc9bc46fb8e778a942b8d603 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 4 Jan 2019 18:25:43 +0000 Subject: [PATCH] try again --- tests/functional/openlp_plugins/images/test_upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/openlp_plugins/images/test_upgrade.py b/tests/functional/openlp_plugins/images/test_upgrade.py index 20c090a2b..0fec1676a 100644 --- a/tests/functional/openlp_plugins/images/test_upgrade.py +++ b/tests/functional/openlp_plugins/images/test_upgrade.py @@ -70,7 +70,7 @@ class TestImageDBUpgrade(TestCase, TestMixin): with patch.object(AppLocation, 'get_data_path', return_value=Path('/', 'test', 'dir')): # WHEN: Initalising the database manager - manager = Manager('images', init_schema, db_file_path=temp_db_name, upgrade_mod=upgrade) + manager = Manager('images', init_schema, db_file_path=Path(temp_db_name), upgrade_mod=upgrade) # THEN: The database should have been upgraded and image_filenames.file_path should return Path objects upgraded_results = manager.get_all_objects(ImageFilenames)