City wrapped up their pre-season with victory over AFC Bournemouth thanks to Chris Martin's 49th-minute penalty.