X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Ftests%2Funit%2Fcore%2Ftest_common_db_client.py;h=3ce117a347622cddc7262827f2ebcffc471fce90;hb=e11d5666a1adfcb2880d99ed16554cdc000507b7;hp=8ffc3d870f04202f4e52d29816bc492a70c42803;hpb=0ccdba94d5ca1de0ff26c6aaf5a16aacc3c2fd0d;p=osm%2FMON.git diff --git a/osm_mon/tests/unit/core/test_common_db_client.py b/osm_mon/tests/unit/core/test_common_db_client.py index 8ffc3d8..3ce117a 100644 --- a/osm_mon/tests/unit/core/test_common_db_client.py +++ b/osm_mon/tests/unit/core/test_common_db_client.py @@ -185,7 +185,17 @@ class CommonDbClientTest(unittest.TestCase): @mock.patch.object(dbmongo.DbMongo, "db_connect", mock.Mock()) @mock.patch.object(dbmongo.DbMongo, "create") def test_create_alarm(self, create): - alarm = Alarm("name", "severity", 50.0, "operation", "statistic", "metric", "scale_out", {}, "ok") + alarm = Alarm( + "name", + "severity", + 50.0, + "operation", + "statistic", + "metric", + "scale_out", + {}, + "ok", + ) alarm.uuid = "1" common_db_client = CommonDbClient(self.config) common_db_client.create_alarm(alarm)