Пример #1
0
 def test_with_promotable_id(self):
     self.assert_message(
         messages.CannotUnmoveUnbanResourceMasterResourceNotPromotable(
             "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.CannotUnmoveUnbanResourceMasterResourceNotPromotable("R"),
         "when specifying --master you must use the promotable clone id",
     )