'Verifies that the form was created properly and with initial values.'

def test_update_object_form_display(self):

    response = self.client.get('/views/create_update/update/article/old_article/')
    self.assertTemplateUsed(response, 'views/article_form.html')
    self.assertEquals(unicode(response.context['form']['title']), u'<input    id="id_title"    type="text"    name="title"    value="Old    Article"    maxlength="100"    />')
