self.subTest is a part of Django's TestCase class and is used as follows: def test_a_view(self): response = self.client.get(url) with self.subTest("Response status code"): self.assertEqual(response.status_code, 200) with self.su...
til.justinthurman.dev1 min readNo responses yet.