Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 74d2a17

Browse files
committedMay 2, 2021
Rename test for clarity
1 parent d798171 commit 74d2a17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎example/tests/test_performance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def test_query_select_related_entry(self):
7272
response = self.client.get("/comments?include=writer&page[size]=25")
7373
self.assertEqual(len(response.data["results"]), 25)
7474

75-
def test_query_prefetch_related_resources(self):
76-
"""We expect a list view with related_resources have three queries:
75+
def test_query_prefetch_uses_included_resources(self):
76+
"""We expect a list view with `included_resources` to have three queries:
7777
7878
1. Primary resource COUNT query
7979
2. Primary resource SELECT

0 commit comments

Comments
 (0)
Please sign in to comment.