def METHOD_NAME(self):
    # Staff setting is required to unlock users.
    self.user.is_staff = True
    self.user.save()
    entry = get_user_model().objects.first()
    url = "/users/{}/unlock/".format(entry.id)
    page = self.c.get(url)
    self.assertEqual(page.status_code, 200)
    page = self.c.post(url, follow=True)
    self.assertEqual(page.status_code, 200)
    self.assertContains(page, UserUnlock.success_message)