they took covered wagons from cape town to johannesburg , roughly a thousand miles , and by the time they were done , their candidates were able to beat the british candidates and run the country for nearly two generations .