def test_future_date(self):
        user = self.matt
        username = self.matt.username
        future_date = date.today() + timedelta(5)

        pearl = mommy.make('core.Pearl', user=user)

        # Iteration on a future date. This `should` show.
        mommy.make('core.Iteration', date=future_date, pearl=pearl)

        # Iterations for today and in the past. These should `not` show.
        mommy.make('core.Iteration', date=date.today(), pearl=pearl)
        mommy.make('core.Iteration', date=date.today()-timedelta(5), pearl=pearl)

        url = reverse('edition_day', args=[
            username,
            future_date.year,
            future_date.month,
            future_date.day,
        ])

        request = self.factory.get(url)

        response = DayEditionView.as_view(month_format='%m')(
            request,
            user=username,
            year=str(future_date.year),
            month=str(future_date.month),
            day=str(future_date.day),
        )

        self.assertEqual(
            list(response.context_data['iteration_list']),
            list(Iteration.objects.filter(date=future_date)),
        )
Ability to limit iterations to a specified user and a date in the
dataset/ETHPy150Open Matt-Deacalion/Mentalist/mentalist/apps/core/tests.py/EditionContextTests.test_future_date