MCPcopy
hub / github.com/django/django / test_ticket7045

Method test_ticket7045

tests/queries/tests.py:1914–1919  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1912 )
1913
1914 def test_ticket7045(self):
1915 # Extra tables used to crash SQL construction on the second use.
1916 qs = Ranking.objects.extra(tables=["django_site"])
1917 qs.query.get_compiler(qs.db).as_sql()
1918 # test passes if this doesn't raise an exception.
1919 qs.query.get_compiler(qs.db).as_sql()
1920
1921 def test_ticket9848(self):
1922 # Make sure that updates which only filter on sub-tables don't

Callers

nothing calls this directly

Calls 3

get_compilerMethod · 0.80
extraMethod · 0.45
as_sqlMethod · 0.45

Tested by

no test coverage detected