Skip to content

Commit fd2f6d4

Browse files
Sebastian Wagnerwaldbauer-certat
authored andcommitted
BUG: bingmurls parser: fix class name
prevented it from being included in list bots
1 parent 303107f commit fd2f6d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

intelmq/bots/parsers/microsoft/parser_bingmurls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626

27-
class MicrosoftCTIPParserBot(ParserBot):
27+
class MicrosoftBingMurlsParserBot(ParserBot):
2828
"""Parse JSON data from Microsoft's Bing Malicious URLs list"""
2929

3030
parse = ParserBot.parse_json
@@ -66,4 +66,4 @@ def parse_line(self, line, report):
6666
yield event
6767

6868

69-
BOT = MicrosoftCTIPParserBot
69+
BOT = MicrosoftBingMurlsParserBot

intelmq/tests/bots/parsers/microsoft/test_parser_bingmurls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import unittest
55

6-
from intelmq.bots.parsers.microsoft.parser_bingmurls import MicrosoftCTIPParserBot
6+
from intelmq.bots.parsers.microsoft.parser_bingmurls import MicrosoftBingMurlsParserBot
77
from intelmq.lib import test
88
from intelmq.lib.utils import base64_encode
99

@@ -61,14 +61,14 @@
6161
]
6262

6363

64-
class TestMicrosoftCTIPParserBot(test.BotTestCase, unittest.TestCase):
64+
class TestMicrosoftBingMurlsParserBot(test.BotTestCase, unittest.TestCase):
6565
"""
66-
A TestCase for the MicrosoftCTIPParserBot.
66+
A TestCase for the MicrosoftBingMurlsParserBot.
6767
"""
6868

6969
@classmethod
7070
def set_bot(cls):
71-
cls.bot_reference = MicrosoftCTIPParserBot
71+
cls.bot_reference = MicrosoftBingMurlsParserBot
7272
cls.default_input_message = EXAMPLE_REPORT
7373

7474
def test_event(self):

0 commit comments

Comments
 (0)