diff options
| author | a01200356 <a01200356@itesm.mx> | 2016-01-02 01:49:32 -0600 |
|---|---|---|
| committer | a01200356 <a01200356@itesm.mx> | 2016-01-02 01:49:32 -0600 |
| commit | 19d025f0e7ef9a5f41b81fc6c1a9a7114bdae78c (patch) | |
| tree | 6f3b9e9f807d28bdabdf0944c97951116655850d /searx/tests/engines/test_wolframalpha_noapi.py | |
| parent | e9d35c1309f05a0b214fb323049909ee7ec62ab8 (diff) | |
[fix] pass wolframalpha_noapi tests
Diffstat (limited to 'searx/tests/engines/test_wolframalpha_noapi.py')
| -rw-r--r-- | searx/tests/engines/test_wolframalpha_noapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/tests/engines/test_wolframalpha_noapi.py b/searx/tests/engines/test_wolframalpha_noapi.py index b884ffa38..5815e52fe 100644 --- a/searx/tests/engines/test_wolframalpha_noapi.py +++ b/searx/tests/engines/test_wolframalpha_noapi.py @@ -138,7 +138,7 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase): self.assertEqual(len(results), 2) self.assertIn("i", results[0]['answer']) self.assertIn("sqrt(-1) - Wolfram|Alpha", results[1]['title']) - self.assertIn("http://www.wolframalpha.com/input/?i=sqrt%28-1%29", results[1]['url']) + self.assertIn("http://www.wolframalpha.com/input/?i=+sqrt%28-1%29", results[1]['url']) html = """ <!DOCTYPE html> @@ -233,4 +233,4 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase): self.assertEqual(len(results), 2) self.assertIn("log(x)+c", results[0]['answer']) self.assertIn("integral 1/x - Wolfram|Alpha", results[1]['title']) - self.assertIn("http://www.wolframalpha.com/input/?i=integral+1%2Fx", results[1]['url']) + self.assertIn("http://www.wolframalpha.com/input/?i=+integral+1%2Fx", results[1]['url']) |