Browse Source

[fix] flake8 compliance in test

a01200356 9 years ago
parent
commit
16d6e758d7
1 changed files with 17 additions and 17 deletions
  1. 17 17
      searx/tests/engines/test_wolframalpha_noapi.py

+ 17 - 17
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:&nbsp;</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:&nbsp;</span>
+                                Check your spelling, and use English
+                            <span class="tip-extra"></span>
+                        </div>
+                    </div>
+                </div>
+            </body>
+        </html>
         """
 
         response = mock.Mock(text=html)