(cls)
| 391 | class CaptureQueriesContextManagerTests(TestCase): |
| 392 | @classmethod |
| 393 | def setUpTestData(cls): |
| 394 | cls.person_pk = str(Person.objects.create(name="test").pk) |
| 395 | cls.url = f"/test_utils/get_person/{cls.person_pk}/" |
| 396 | |
| 397 | def test_simple(self): |
| 398 | with CaptureQueriesContext(connection) as captured_queries: |