forked from openlp/openlp
fixed test
This commit is contained in:
parent
550dfe12fa
commit
fe251f96a0
@ -83,7 +83,7 @@ class TestAppLocation(TestCase):
|
|||||||
mocked_listdir.return_value = copy.deepcopy(FILE_LIST)
|
mocked_listdir.return_value = copy.deepcopy(FILE_LIST)
|
||||||
|
|
||||||
# When: Get the list of files.
|
# When: Get the list of files.
|
||||||
result = AppLocation.get_files(u'sectidon', u'.mp3')
|
result = AppLocation.get_files(u'section', u'.mp3')
|
||||||
|
|
||||||
# Then: Check if the section parameter was used correctly.
|
# Then: Check if the section parameter was used correctly.
|
||||||
mocked_listdir.assert_called_with(u'test/dir/section')
|
mocked_listdir.assert_called_with(u'test/dir/section')
|
||||||
|
Loading…
Reference in New Issue
Block a user