1 | ../home/reficul31/Projects-Active/django_proj/django/django/db/backends/base/base.py:133: UserWarning: Limit for query logging exceeded, only the last 9000 queries will be returned.
|
---|
2 | "will be returned.".format(self.queries_log.maxlen))
|
---|
3 | F
|
---|
4 | ======================================================================
|
---|
5 | FAIL: test_for_max_query_limit (test_utils.tests.AssertNumQueriesTests)
|
---|
6 | ----------------------------------------------------------------------
|
---|
7 | Traceback (most recent call last):
|
---|
8 | File "/home/reficul31/Projects-Active/django_proj/django/tests/test_utils/tests.py", line 158, in test_for_max_query_limit
|
---|
9 | self.client.get("/test_utils/get_person/%s/" % person.pk)
|
---|
10 | File "/home/reficul31/Projects-Active/django_proj/django/django/test/testcases.py", line 90, in __exit__
|
---|
11 | query['sql'] for query in self.captured_queries
|
---|
12 | AssertionError: 8996 != 8997 : 8996 queries executed, 8997 expected
|
---|
13 | Captured queries were:
|
---|
14 | SELECT "test_utils_person"."id", "test_utils_person"."name" FROM "test_utils_person" WHERE "test_utils_person"."id" = 1
|
---|
15 | SELECT "test_utils_person"."id", "test_utils_person"."name" FROM "test_utils_person" WHERE "test_utils_person"."id" = 1
|
---|