From cd9b494cb5871b2011893f19647e7651fb0382b6 Mon Sep 17 00:00:00 2001 From: stepshal Date: Sun, 10 Jul 2016 21:44:27 +0700 Subject: Fix quantity of blank lines after code object. --- tests/unit/test_preferences.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/unit/test_preferences.py') diff --git a/tests/unit/test_preferences.py b/tests/unit/test_preferences.py index e418c0af4..c17350809 100644 --- a/tests/unit/test_preferences.py +++ b/tests/unit/test_preferences.py @@ -4,6 +4,7 @@ from searx.testing import SearxTestCase class PluginStub(object): + def __init__(self, id, default_on): self.id = id self.default_on = default_on @@ -11,6 +12,7 @@ class PluginStub(object): class TestSettings(SearxTestCase): # map settings + def test_map_setting_invalid_initialization(self): with self.assertRaises(MissingArgumentException): setting = MapSetting(3, wrong_argument={'0': 0}) -- cgit v1.2.3