From aac09c0afbc08319a54bace4aee5f20097387cb9 Mon Sep 17 00:00:00 2001 From: Ian Knight Date: Fri, 6 May 2016 04:33:12 +0930 Subject: [PATCH] Fixed create_thumb_invalid_size_test --- tests/functional/openlp_core_lib/test_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/openlp_core_lib/test_lib.py b/tests/functional/openlp_core_lib/test_lib.py index 8f94276a6..a792e3aee 100644 --- a/tests/functional/openlp_core_lib/test_lib.py +++ b/tests/functional/openlp_core_lib/test_lib.py @@ -337,7 +337,7 @@ class TestLib(TestCase): self.assertFalse(os.path.exists(thumb_path), 'Test was not run, because the thumb already exists.') # WHEN: Create the thumb. - icon = create_thumb(image_path, thumb_path) + icon = create_thumb(image_path, thumb_path, size=thumb_size) # THEN: Check if the thumb was created, retaining its aspect ratio. self.assertTrue(os.path.exists(thumb_path), 'Test was not ran, because the thumb already exists')