Revision 5b6f9e35 test/py/cmdlib/cluster_unittest.py

b/test/py/cmdlib/cluster_unittest.py
31 31
import tempfile
32 32
import shutil
33 33

  
34
from collections import defaultdict
35

  
34 36
from ganeti import constants
35 37
from ganeti import errors
36 38
from ganeti import netutils
......
229 231

  
230 232

  
231 233
class TestLUClusterPostInit(CmdlibTestCase):
232
  def testExecuion(self):
234
  def testExecution(self):
235
    # For the purpose of this test, return the same certificate digest for all
236
    # nodes
237
    self.rpc.call_node_crypto_tokens = \
238
      lambda node_uuid, _: self.RpcResultsBuilder() \
239
        .CreateSuccessfulNodeResult(node_uuid,
240
          [(constants.CRYPTO_TYPE_SSL_DIGEST, "IA:MA:FA:KE:DI:GE:ST")])
233 241
    op = opcodes.OpClusterPostInit()
234 242

  
235 243
    self.ExecOpCode(op)

Also available in: Unified diff