def test_cfn_cluster_version(self):
     args = BaseArgs()
     pcluster.version(args)
     log = test_log_stream.getvalue()
     version_returned = re.match(r"^INFO:\w+\.\w+:(\d+\.\d+\.\d+.*)$",
                                 log).group(1)
     self.assertEqual(version_returned, version_on_file)
Пример #2
0
def version(args):
    version = pcluster.version()
    LOGGER.info(version)
Пример #3
0
 def test_cfn_cluster_version(self):
     args = BaseArgs()
     pcluster.version(args)
     log = test_log_stream.getvalue()
     version_returned = re.match(r"^INFO:\w+\.\w+:(\d+\.\d+\.\d+.*)$", log).group(1)
     self.assertEqual(version_returned, version_on_file)
Пример #4
0
def version(args):
    pcluster.version(args)
Пример #5
0
def version(args):
    pcluster.version(args)