def test_was_published_recently_with_old_poll(self):
        old_poll = Poll(pub_date=timezone.now() - datetime.timedelta(days=30))
        self.assertEqual(old_poll.was_published_recently(), False)
was_published_recently() should return False for polls whose pub_date
dataset/ETHPy150Open disqus/sharding-example/polls/tests.py/PollMethodTests.test_was_published_recently_with_old_poll