forked from openlp/openlp
fixed test
This commit is contained in:
parent
94be547550
commit
68128af18f
@ -48,7 +48,7 @@ class TestAppLocation(TestCase):
|
|||||||
data_path = AppLocation.get_data_path()
|
data_path = AppLocation.get_data_path()
|
||||||
# THEN: the mocked Settings methods were called and the value returned was our set up value
|
# THEN: the mocked Settings methods were called and the value returned was our set up value
|
||||||
mocked_settings.contains.assert_called_with(u'advanced/data path')
|
mocked_settings.contains.assert_called_with(u'advanced/data path')
|
||||||
mocked_settings.value.assert_called_with(u'advanced/data path', u'')
|
mocked_settings.value.assert_called_with(u'advanced/data path')
|
||||||
assert data_path == u'custom/dir', u'Result should be "custom/dir"'
|
assert data_path == u'custom/dir', u'Result should be "custom/dir"'
|
||||||
|
|
||||||
def get_section_data_path_test(self):
|
def get_section_data_path_test(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user