Minor fixes for MON Evaluator & Dashboarder
[osm/MON.git] / osm_mon / tests / unit / core / test_common_db_client.py
index 7102226..b982bca 100644 (file)
@@ -172,8 +172,9 @@ class CommonDbClientTest(unittest.TestCase):
         alarm.uuid = '1'
         common_db_client = CommonDbClient(self.config)
         common_db_client.create_alarm(alarm)
-        create.assert_called_with('alarms', {'tags': {}, 'threshold': 50.0, 'metric': 'metric', 'severity': 'severity',
-                                             'statistic': 'statistic', 'name': 'name', 'uuid': '1'})
+        create.assert_called_with('alarms', {'tags': {}, 'threshold': 50.0, 'metric': 'metric',
+                                             'severity': 'severity', 'statistic': 'statistic',
+                                             'name': 'name', 'operation': 'operation', 'uuid': '1'})
 
     @mock.patch.object(dbmongo.DbMongo, "db_connect", mock.Mock())
     @mock.patch.object(dbmongo.DbMongo, "del_one")