In the second act , he finishes a puppet theater play titled The Pleasures of the Town , about the Goddess Nonsense 's choice of a husband from allegorical representatives of theater and other literary genres .
It is a puppet play called `` The Pleasures of the Town '' .