'date_based.object_detail can view a page from today'

def test_object_detail_finds_today(self):

    today_url = datetime.now().strftime('%Y/%m/%d')
    response = self.client.get(('/views/date_based/object_detail/%s/current_article/' % today_url))
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.context['object'].title, 'Current    Article')
