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 View File

@@ -22,23 +22,23 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase):
22 22
         self.assertRaises(AttributeError, wolframalpha_noapi.response, '')
23 23
         self.assertRaises(AttributeError, wolframalpha_noapi.response, '[]')
24 24
 
25
-		html = """
26
-    	<!DOCTYPE html>
27
-			<title> Parangaricutirimícuaro - Wolfram|Alpha</title>
28
-			<meta charset="utf-8" />
29
-			<body>
30
-				<div id="closest">
31
-					<p class="pfail">Wolfram|Alpha doesn't know how to interpret your input.</p>
32
-					<div id="dtips">
33
-						<div class="tip">
34
-							<span class="tip-title">Tip:&nbsp;</span>
35
-								Check your spelling, and use English
36
-							<span class="tip-extra"></span>
37
-						</div>
38
-					</div>
39
-				</div>
40
-			</body>
41
-		</html>
25
+        html = """
26
+        <!DOCTYPE html>
27
+            <title> Parangaricutirimícuaro - Wolfram|Alpha</title>
28
+            <meta charset="utf-8" />
29
+            <body>
30
+                <div id="closest">
31
+                    <p class="pfail">Wolfram|Alpha doesn't know how to interpret your input.</p>
32
+                    <div id="dtips">
33
+                        <div class="tip">
34
+                            <span class="tip-title">Tip:&nbsp;</span>
35
+                                Check your spelling, and use English
36
+                            <span class="tip-extra"></span>
37
+                        </div>
38
+                    </div>
39
+                </div>
40
+            </body>
41
+        </html>
42 42
         """
43 43
 
44 44
         response = mock.Mock(text=html)