Skip to content

Commit 5a584b7

Browse files
kamil-certatsebix
authored andcommitted
Fix tests
1 parent c88dfab commit 5a584b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

intelmq/lib/upgrades.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'v322_removed_feeds_and_bots',
4444
'v340_deprecations',
4545
'v341_blueliv_removal',
46-
'v342_new_fields'
46+
'v342_new_fields',
4747
]
4848

4949

intelmq/tests/lib/test_upgrades.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ def test_v342_new_fields(self):
884884
self.assertIn("product.vendor", result[2]["event"])
885885
self.assertIn("product.version", result[2]["event"])
886886
self.assertIn("product.vulnerabilities", result[2]["event"])
887+
self.assertIn("old-field", result[2]["event"])
888+
self.assertIn("severity", result[2]["event"])
887889

888890

889891
for name in upgrades.__all__:

0 commit comments

Comments
 (0)