fixed test

This commit is contained in:
Andreas Preikschat 2013-01-30 19:42:22 +01:00
parent 94be547550
commit 68128af18f

View File

@ -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):