@override_djconfig(topics_per_page=1)
    def test_topic_notification_list_paginate(self):
        topic2 = utils.create_topic(self.category)
        comment2 = utils.create_comment(topic=topic2)
        topic_notification2 = TopicNotification.objects.create(user=self.user, topic=topic2,
                                                               comment=comment2, is_active=True,
                                                               action=COMMENT)

        utils.login(self)
        response = self.client.get(reverse('spirit:topic:notification:index'))
        self.assertEqual(list(response.context['notifications']), [topic_notification2, ])
Context manager that temporarily remaps HOME / APPDATA
dataset/ETHPy150Open nitely/Spirit/spirit/topic/notification/tests.py/TopicNotificationViewTest.test_topic_notification_list_paginate--crossover with--dataset/ETHPy150Open enthought/traits/traits/etsconfig/tests/test_etsconfig.py/temporary_home_directory