In short you must be able to prove that you have taken all reasonable steps to ensure that the property you are letting is safe. The Electrical Safety Council have a very useful guide to landlords or tenants who may be concerned about the property they are renting.
Follow this link to download the guide
www.esc.org.uk/business-and-community/guidance-for/landlords.html