def test_returns_remining_operations(self, make_unique_intervals): make_unique_intervals.side_effect = ( lambda report_processor, operations: operations ) self.assertEqual( operations.get_remaining_defaults( report_processor=None, operation_list=[{"name": "monitor"}], default_operation_list=[{"name": "monitor"}, {"name": "start"}] ), [{"name": "start"}] )