def test_post_mark_unread(self):
        thread1 = self.create_thread(recipient=self.user)
        thread2 = self.create_thread(recipient=self.user)
        UserThread.objects.filter(
            user=self.user, thread=thread2).update(
                read=True, last_read_at=now())

        self.client.post(
            reverse('thread_json'),
            {'read': 'false'}
        )

        self.assertFalse(self.fetch_userthread(thread1).read)
        self.assertFalse(self.fetch_userthread(thread1).last_read_at)
        self.assertFalse(self.fetch_userthread(thread2).read)
        self.assertFalse(self.fetch_userthread(thread2).last_read_at)
The unique CSRF security token for this form.
dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/ThreadJSONListViewTest.test_post_mark_unread--crossover with--dataset/ETHPy150Open mitsuhiko/fungiform/fungiform/forms.py/FormBase.csrf_token