forked from Icycoide/searxng
[mod] move some code from webapp module to webutils module (no functional change)
Over the years the webapp module became more and more a mess. To improve the modulaization a little this patch moves some implementations from the webapp module to webutils module. HINT: this patch brings non functional change Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
71b6ff07ca
commit
fa1ef9a07b
7 changed files with 164 additions and 131 deletions
|
@ -64,7 +64,7 @@ class TestWebUtils(SearxTestCase):
|
|||
|
||||
class TestUnicodeWriter(SearxTestCase):
|
||||
def setUp(self):
|
||||
self.unicode_writer = webutils.UnicodeWriter(mock.MagicMock())
|
||||
self.unicode_writer = webutils.CSVWriter(mock.MagicMock())
|
||||
|
||||
def test_write_row(self):
|
||||
row = [1, 2, 3]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue