Пример #1
0
 def test_multiple_nodes(self):
     self.assert_message(
         messages.HostNotFound(["node2", "node1"]),
         ("Hosts 'node1', 'node2' are not known to pcs, try to "
          "authenticate the hosts using 'pcs host auth node1 node2' "
          "command"),
     )
Пример #2
0
 def test_one_node(self):
     self.assert_message(
         messages.HostNotFound(["node1"]),
         ("Host 'node1' is not known to pcs, try to "
          "authenticate the host using 'pcs host auth node1' "
          "command"),
     )