summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-07-11 00:07:18 +0200
committerGitHub <noreply@github.com>2016-07-11 00:07:18 +0200
commitbaab6bcb9150c765c6e87a558388046ebc419017 (patch)
tree6288bcf3c597180bb2594a5f9f213aca8bf34737 /tests/unit
parent678b87f9d5969668a07c36f9b80be5a5b2d08587 (diff)
parentcd9b494cb5871b2011893f19647e7651fb0382b6 (diff)
Merge pull request #616 from stepshal/blank
Fix quantity of blank lines after code object.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_preferences.py2
1 files changed, 2 insertions, 0 deletions
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})