Translation:This is a lesson, not a tea party.
Why is it "te parti" and not "parti te"?
It is a borrowing from English. parti te is also acceptable.
Is this a common phrase?
It's the sort of thing a stressed teacher in North Wales might say.