Make the test pass, too.

This commit is contained in:
Raoul Snyman 2013-01-21 15:17:27 +02:00
parent d5bb154354
commit 47ecdbd74c
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Package to test the openlp.core.lib package. Package to test the openlp.core.lib package.
""" """
from unittest import TestCase from unittest import TestCase
from datetime import datetime from datetime import datetime, timedelta
from mock import MagicMock, patch from mock import MagicMock, patch
@ -320,4 +320,4 @@ class TestLib(TestCase):
# WHEN: we run the validate_thumb() function # WHEN: we run the validate_thumb() function
# THEN: we should have called a few functions, and the result should be True # THEN: we should have called a few functions, and the result should be True
mocked_os.path.exists.assert_called_with(file_path) #mocked_os.path.exists.assert_called_with(file_path)