Pep Guardiola’s men stand on the brink of history but must first overcome a tricky test at Tottenham