Example #1
0
 def test_with_promotable_id(self):
     self.assert_message(
         messages.CannotMoveResourceMasterResourceNotPromotable("R", "P"),
         (
             "when specifying --promoted you must use the promotable clone "
             "id (P)"
         ),
     )
Example #2
0
 def test_without_promotable_id(self):
     self.assert_message(
         messages.CannotMoveResourceMasterResourceNotPromotable("R"),
         "when specifying --promoted you must use the promotable clone id",
     )