def METHOD_NAME(self):
    # Test editing a page we create
    page = Page.objects.create(name="test edit page", slug="test_edit")
    page.save()
    c = Client()
    # Test without edit permission
    c.login(username=self.no_edit_user.username,
            password='no_edit_password')
    response = c.get('/test_edit/')
    templates = [x.name for x in response.templates]
    self.assertTrue('wafer.pages/page.html' in templates)
    response = c.get('/test_edit/', {'edit': ''})
    self.assertEqual(response.status_code, 403)
    c.logout()
    # Test with edit permission
    c.login(username=self.edit_user.username, password='can_edit_password')
    response = c.get('/test_edit/')
    templates = [x.name for x in response.templates]
    self.assertTrue('wafer.pages/page.html' in templates)
    response = c.get('/test_edit/', {'edit': ''})
    templates = [x.name for x in response.templates]
    self.assertTrue('wafer.pages/page_form.html' in templates)
    self.assertEqual(response.status_code, 200)