mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] make format.python : prepare python code for black 23.1.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
233ee1bb15
commit
b4c80d9ebb
68 changed files with 8 additions and 115 deletions
|
|
@ -122,7 +122,6 @@ class TestNetwork(SearxTestCase):
|
|||
|
||||
|
||||
class TestNetworkRequestRetries(SearxTestCase):
|
||||
|
||||
TEXT = 'Lorem Ipsum'
|
||||
|
||||
@classmethod
|
||||
|
|
@ -195,7 +194,6 @@ class TestNetworkRequestRetries(SearxTestCase):
|
|||
|
||||
|
||||
class TestNetworkStreamRetries(SearxTestCase):
|
||||
|
||||
TEXT = 'Lorem Ipsum'
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ TEST_DB = {
|
|||
|
||||
|
||||
class TestGetNode(SearxTestCase):
|
||||
|
||||
DB = {
|
||||
'trie': {
|
||||
'exam': {
|
||||
|
|
|
|||
|
|
@ -228,7 +228,6 @@ class TestExternalBangParser(SearxTestCase):
|
|||
|
||||
|
||||
class TestBang(SearxTestCase):
|
||||
|
||||
SPECIFIC_BANGS = ['!dummy_engine', '!du', '!general']
|
||||
THE_QUERY = 'the query'
|
||||
|
||||
|
|
|
|||
|
|
@ -154,7 +154,6 @@ class TestHTMLTextExtractor(SearxTestCase):
|
|||
|
||||
|
||||
class TestXPathUtils(SearxTestCase):
|
||||
|
||||
TEST_DOC = """<ul>
|
||||
<li>Text in <b>bold</b> and <i>italic</i> </li>
|
||||
<li>Another <b>text</b> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs="></li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue