Skip to content

Commit

Permalink
number of queries
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed May 30, 2024
1 parent 701b9d7 commit e7214bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courses/views/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def num_queries_from_programs(programs, version="v1"):
num_queries += num_queries_from_course(course)
num_queries += 4 + (6 * num_courses) + 1
if version == "v2":
num_queries += 6 + (12 * num_courses) + 1
num_queries += 6 + (17 * num_courses) + 1
return num_queries


Expand Down

0 comments on commit e7214bd

Please sign in to comment.