diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2019-12-23 18:47:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-23 18:47:23 +0100 |
| commit | 70f7142824cc44afddb5704fd59e3a4194f3dc0e (patch) | |
| tree | 36c058cb56dac8fc5b073eccc71d5ded83286a6c /tests/unit/engines/test_digg.py | |
| parent | 6a5aae65308b3808e4ebc0602c7f90b1a5cb888b (diff) | |
| parent | 3e14bf4d2786ce5f2a61684cf16744700e670e60 (diff) | |
Merge branch 'master' into bug/oscar-theme
Diffstat (limited to 'tests/unit/engines/test_digg.py')
| -rw-r--r-- | tests/unit/engines/test_digg.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/unit/engines/test_digg.py b/tests/unit/engines/test_digg.py deleted file mode 100644 index 8bc4c67c2..000000000 --- a/tests/unit/engines/test_digg.py +++ /dev/null @@ -1,16 +0,0 @@ -from collections import defaultdict -import mock -from searx.engines import digg -from searx.testing import SearxTestCase - - -class TestDiggEngine(SearxTestCase): - - def test_request(self): - query = 'test_query' - dicto = defaultdict(dict) - dicto['pageno'] = 1 - params = digg.request(query, dicto) - self.assertIn('url', params) - self.assertIn(query, params['url']) - self.assertIn('digg.com', params['url']) |