def test_get_translations(self): translations = pretend.stub() form = Form(translations=translations) assert form._get_translations() is translations