def test_validate_all_individual_options(self):
     self.assertEqual(
         ["REQUIRES REPORT", "ROLE REPORT"],
         sorted(operations.validate_operation({"name": "monitor"}, [
             mock.Mock(return_value=["ROLE REPORT"]),
             mock.Mock(return_value=["REQUIRES REPORT"]),
         ]))
     )
 def test_validate_all_individual_options(self):
     self.assertEqual(
         ["REQUIRES REPORT", "ROLE REPORT"],
         sorted(
             operations.validate_operation({"name": "monitor"}, [
                 mock.Mock(return_value=["ROLE REPORT"]),
                 mock.Mock(return_value=["REQUIRES REPORT"]),
             ])))
 def assert_operation_produces_report(self, operation, report_list):
     assert_report_item_list_equal(
         operations.validate_operation(
             operation,
             operations.OPERATION_OPTIONS_VALIDATORS
         ),
         report_list
     )