'Creates a new article using a custom form class with a save method
that alters the slug entered.'

def test_create_custom_save_article(self):

    view_url = '/views/create_update/create_custom/article/'
    response = self.client.post(view_url, {'title': 'Test    Article', 'slug': 'this-should-get-replaced', 'author': 1, 'date_created': datetime.datetime(2007, 6, 25)})
    self.assertRedirects(response, '/views/create_update/view/article/some-other-slug/', target_status_code=404)
