File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3232with open ('cloudformation/cfncluster.cfn.json' ) as f :
3333 cfncluster_json_data = json .load (f )
3434 version_on_file = cfncluster_json_data ["Mappings" ]["CfnClusterVersions" ]["default" ]["cfncluster" ]
35- version_on_file = re .match (r".*(\d+\.\d+\.\d+)" , version_on_file ).group (1 )
35+ version_on_file = re .match (r".*(\d+\.\d+\.\d+.* )" , version_on_file ).group (1 )
3636 json_dump = json .dumps (cfncluster_json_data )
3737
3838
@@ -106,7 +106,7 @@ def test_cfn_cluster_version(self):
106106 args = BaseArgs ()
107107 cfncluster .version (args )
108108 log = test_log_stream .getvalue ()
109- version_returned = re .match (r"^INFO:\w+\.\w+:(\d+\.\d+\.\d+)$" , log ).group (1 )
109+ version_returned = re .match (r"^INFO:\w+\.\w+:(\d+\.\d+\.\d+.* )$" , log ).group (1 )
110110 self .assertEqual (version_returned , version_on_file )
111111
112112 @mock_ec2
You can’t perform that action at this time.
0 commit comments