diff options
| author | Mathieu Brunot <mathieu.brunot@monogramm.io> | 2019-12-24 21:38:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-24 21:38:07 +0100 |
| commit | 359c18f9e633fe4cf1062bb2e7507840065e6ca5 (patch) | |
| tree | a0babfcc9471b69a20358fa95f47e22b469af7f0 /tests/unit/engines/test_dummy.py | |
| parent | 088752959e5cb635b55cb74e8d9d90e5062e0a7f (diff) | |
| parent | a52a638ba88466c587fd8afa744434711b1e4822 (diff) | |
Merge branch 'master' into docker/opencontainers
Diffstat (limited to 'tests/unit/engines/test_dummy.py')
| -rw-r--r-- | tests/unit/engines/test_dummy.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/unit/engines/test_dummy.py b/tests/unit/engines/test_dummy.py deleted file mode 100644 index 9399beaaf..000000000 --- a/tests/unit/engines/test_dummy.py +++ /dev/null @@ -1,26 +0,0 @@ -from searx.engines import dummy -from searx.testing import SearxTestCase - - -class TestDummyEngine(SearxTestCase): - - def test_request(self): - test_params = [ - [1, 2, 3], - ['a'], - [], - 1 - ] - for params in test_params: - self.assertEqual(dummy.request(None, params), params) - - def test_response(self): - responses = [ - None, - [], - True, - dict(), - tuple() - ] - for response in responses: - self.assertEqual(dummy.response(response), []) |