Using Python Assert Function To Validate String