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
파일: cli.py 프로젝트: awslabs/cfncluster
def version(args):
    pcluster.version(args)