1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

rename to suss

This commit is contained in:
Michael Pöhn 2022-09-29 16:42:04 +02:00
parent dc1a2db3f4
commit 1e6694112a
3 changed files with 5 additions and 5 deletions

View File

@ -268,14 +268,14 @@ class ExodusSignatureDataController(SignatureDataController):
}
class ScannerSignatureDataController(SignatureDataController):
class SUSSDataController(SignatureDataController):
def __init__(self):
super().__init__('Scanner signatures', 'scanner.json')
super().__init__('SUSS', 'suss.json')
class ScannerTool():
def __init__(self):
self.sdcs = [ScannerSignatureDataController()]
self.sdcs = [SUSSDataController()]
self.load()
self.compile_regexes()

View File

@ -565,7 +565,7 @@ class Test_SignatureDataController(unittest.TestCase):
)
class Test_ScannerSignatureDataController_fetch_signatures_from_web(unittest.TestCase):
class Test_SUSSDataController_fetch_signatures_from_web(unittest.TestCase):
def setUp(self):
self.uo_func = mock.Mock(return_value=io.StringIO(textwrap.dedent('''\
version: 999
@ -654,7 +654,7 @@ if __name__ == "__main__":
unittest.makeSuite(ScannerTest),
unittest.makeSuite(Test_scan_binary),
unittest.makeSuite(Test_SignatureDataController),
unittest.makeSuite(Test_ScannerSignatureDataController_fetch_signatures_from_web),
unittest.makeSuite(Test_SUSSDataController_fetch_signatures_from_web),
unittest.makeSuite(Test_main),
])
unittest.main(failfast=False)