|
15 | 15 | from intelmq.bots.experts.ripe.expert import RIPEExpertBot |
16 | 16 |
|
17 | 17 | EXAMPLE_INPUT = {"__type": "Event", |
18 | | - "source.ip": "93.184.216.34", # example.com |
| 18 | + "source.ip": "93.184.215.14", # example.com |
19 | 19 | "destination.ip": "193.238.157.5", # funkfeuer.at |
20 | 20 | "destination.asn": 35492, |
21 | 21 | "time.observation": "2015-01-01T00:00:00+00:00", |
22 | 22 | } |
23 | 23 | EXAMPLE_OUTPUT = {"__type": "Event", |
24 | | - "source.ip": "93.184.216.34", |
25 | | - "source.abuse_contact": "abuse@verizondigitalmedia.com", |
| 24 | + "source.ip": "93.184.215.14", |
| 25 | + "source.abuse_contact": "abuse@edg.io", |
26 | 26 | "destination.ip": "193.238.157.5", |
27 | 27 | "destination.abuse_contact": "[email protected]", |
28 | 28 | "destination.asn": 35492, |
@@ -106,7 +106,7 @@ def test_db_ipv4_lookup(self): |
106 | 106 | self.run_bot() |
107 | 107 | self.assertMessageEqual(0, EXAMPLE_OUTPUT) |
108 | 108 | self. assertEqual( self. cache. get( 'db_asn:35492'), b'["[email protected]"]') |
109 | | - self.assertEqual(self.cache.get('db_ip:93.184.216.34'), b'["abuse@verizondigitalmedia.com"]') |
| 109 | + self.assertEqual(self.cache.get('db_ip:93.184.215.14'), b'["abuse@edg.io"]') |
110 | 110 | self. assertEqual( self. cache. get( 'db_ip:193.238.157.5'), b'["[email protected]"]') |
111 | 111 |
|
112 | 112 | def test_db_ipv6_lookup(self): |
@@ -196,7 +196,7 @@ def test_ripe_db_ip_errors(self, mocker): |
196 | 196 | }) |
197 | 197 | old = self.bot.QUERY['db_ip'] |
198 | 198 | self.bot.QUERY['db_ip'] = 'http://localhost/{}' |
199 | | - mocker.get('/93.184.216.34', status_code=404) |
| 199 | + mocker.get('/93.184.215.14', status_code=404) |
200 | 200 | mocker.get('/193.238.157.5', status_code=404) |
201 | 201 |
|
202 | 202 | self.run_bot(prepare=False, |
|
0 commit comments