diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_settings_loader.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_settings_loader.py b/tests/unit/test_settings_loader.py index 13a2d4f37..732bc9156 100644 --- a/tests/unit/test_settings_loader.py +++ b/tests/unit/test_settings_loader.py @@ -22,11 +22,11 @@ class TestLoad(SearxTestCase): with self.assertRaises(SearxSettingsException): settings_loader.load_yaml(join(test_dir, '/settings/empty_settings.yml')) - def test_check_settings_yml(self): - self.assertIsNone(settings_loader.check_settings_yml('/dev/zero')) + def test_existing_filename_or_none(self): + self.assertIsNone(settings_loader.existing_filename_or_none('/dev/zero')) bad_settings_path = join(test_dir, 'settings/syntaxerror_settings.yml') - self.assertEqual(settings_loader.check_settings_yml(bad_settings_path), bad_settings_path) + self.assertEqual(settings_loader.existing_filename_or_none(bad_settings_path), bad_settings_path) class TestDefaultSettings(SearxTestCase): |