In a Two-Headed Giant game, each of your two opponents must attack you or a planeswalker you control with at least one creature if able. Attacking your teammate or a planeswalker your teammate controls doesn't satisfy Trove of Temptation's requirement.