def test_no_matching_thread_raises_404(self):
        user = self.create_user()
        self.client.login(username=user.email, password='moo')
        response = self.client.get(
            reverse('thread_details_json', kwargs={'pk': 837483}))
        self.assertEqual(response.status_code, 404)
Should raise 404 if there isn't a matching thread.
dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/TestThreadJSONDetailView.test_no_matching_thread_raises_404