def test_category_detail_view_invalid_category(self):
        response = self.client.get(reverse('spirit:category:detail', kwargs={'pk': str(99), }))
        self.assertEqual(response.status_code, 404)
invalid category
dataset/ETHPy150Open nitely/Spirit/spirit/category/tests.py/CategoryViewTest.test_category_detail_view_invalid_category