def METHOD_NAME(self):
    gallery = GalleryFactory()
    data = {"action": "add", "user": self.profile, "mode": "R"}
    form = UserGalleryForm(gallery=gallery, data=data)
    self.assertTrue(form.is_valid())