mirror of
https://github.com/searxng/searxng.git
synced 2025-07-19 03:09:25 +02:00
Fix quantity of blank lines after code object.
This commit is contained in:
parent
678b87f9d5
commit
cd9b494cb5
8 changed files with 9 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue