diff options
author | a01200356 <a01200356@itesm.mx> | 2016-01-02 22:36:52 -0600 |
---|---|---|
committer | a01200356 <a01200356@itesm.mx> | 2016-01-02 22:36:52 -0600 |
commit | 16d6e758d73ed5b369a4cf70830b5ebf0d0196ba (patch) | |
tree | 9868b09f3b071d5b9e6bf7b77fd63db3ec735420 | |
parent | d05c676ed5b1dc5372b1cb380740161b3613f7cc (diff) | |
download | searxng-16d6e758d73ed5b369a4cf70830b5ebf0d0196ba.tar.gz searxng-16d6e758d73ed5b369a4cf70830b5ebf0d0196ba.zip |
[fix] flake8 compliance in test
-rw-r--r-- | searx/tests/engines/test_wolframalpha_noapi.py | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/searx/tests/engines/test_wolframalpha_noapi.py b/searx/tests/engines/test_wolframalpha_noapi.py index b2ae5469e..237f578db 100644 --- a/searx/tests/engines/test_wolframalpha_noapi.py +++ b/searx/tests/engines/test_wolframalpha_noapi.py @@ -22,23 +22,23 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase): self.assertRaises(AttributeError, wolframalpha_noapi.response, '') self.assertRaises(AttributeError, wolframalpha_noapi.response, '[]') - html = """ - <!DOCTYPE html> - <title> Parangaricutirimícuaro - Wolfram|Alpha</title> - <meta charset="utf-8" /> - <body> - <div id="closest"> - <p class="pfail">Wolfram|Alpha doesn't know how to interpret your input.</p> - <div id="dtips"> - <div class="tip"> - <span class="tip-title">Tip: </span> - Check your spelling, and use English - <span class="tip-extra"></span> - </div> - </div> - </div> - </body> - </html> + html = """ + <!DOCTYPE html> + <title> Parangaricutirimícuaro - Wolfram|Alpha</title> + <meta charset="utf-8" /> + <body> + <div id="closest"> + <p class="pfail">Wolfram|Alpha doesn't know how to interpret your input.</p> + <div id="dtips"> + <div class="tip"> + <span class="tip-title">Tip: </span> + Check your spelling, and use English + <span class="tip-extra"></span> + </div> + </div> + </div> + </body> + </html> """ response = mock.Mock(text=html) |