Esempio n. 1
0
 def test_prepare_report_without_role(self):
     self.assertEqual(
         "resourceA (id:some_id)",
         console_report.constraint_plain(
             {"options": {
                 "rsc": "resourceA",
                 "id": "some_id"
             }},
             with_id=True))
Esempio n. 2
0
 def test_prepare_report_without_role(self):
     self.assertEqual(
         "resourceA (id:some_id)",
         console_report.constraint_plain(
             {"options": {
                 "rsc": "resourceA",
                 "id": "some_id"
             }},
             with_id=True
         )
     )