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)
Beispiel #2
0
def version(args):
    version = pcluster.version()
    LOGGER.info(version)
 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)
Beispiel #4
0
def version(args):
    pcluster.version(args)
Beispiel #5
0
def version(args):
    pcluster.version(args)