diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-03-13 01:05:02 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-03-13 01:05:02 +0100 |
commit | 8e727ac77f5db59c1b772d9fd7603b519badb35a (patch) | |
tree | 42947ae1bfc1d01cab89dc4885ab77806c6813e4 /tests/unit/test_webapp.py | |
parent | 58a630308a95f886db9de19d562e11890ac35e07 (diff) | |
download | searxng-8e727ac77f5db59c1b772d9fd7603b519badb35a.tar.gz searxng-8e727ac77f5db59c1b772d9fd7603b519badb35a.zip |
[fix] update csv unit test
Diffstat (limited to 'tests/unit/test_webapp.py')
-rw-r--r-- | tests/unit/test_webapp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index 72ace4850..f31332fa0 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -99,9 +99,9 @@ class ViewsTestCase(SearxTestCase): result = self.app.post('/', data={'q': 'test', 'format': 'csv'}) self.assertEqual( - b'title,url,content,host,engine,score\r\n' - b'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,\r\n' # noqa - b'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,\r\n', # noqa + b'title,url,content,host,engine,score,type\r\n' + b'First Test,http://first.test.xyz,first test content,first.test.xyz,startpage,,result\r\n' # noqa + b'Second Test,http://second.test.xyz,second test content,second.test.xyz,youtube,,result\r\n', # noqa result.data ) |