Пример #1
0
 def test_with_promotable_id(self):
     self.assert_message(
         messages.CannotBanResourceMasterResourceNotPromotable("R", "P"),
         (
             "when specifying --promoted you must use the promotable clone "
             "id (P)"
         ),
     )
Пример #2
0
 def test_without_promotable_id(self):
     self.assert_message(
         messages.CannotBanResourceMasterResourceNotPromotable("R"),
         "when specifying --promoted you must use the promotable clone id",
     )