#testing
Read more stories on Hashnode
Articles with this tag
If you ever need to access the raw SQL executed during any unit test, the CaptureQueriesContext context manager can help. It's very simple: from...
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...