MCPcopy
hub / github.com/django/django / test_simple_raw_query

Method test_simple_raw_query

tests/raw_query/tests.py:136–142  ·  view source on GitHub ↗

Basic test of raw query with a simple database query

(self)

Source from the content-addressed store, hash-verified

134 )
135
136 def test_simple_raw_query(self):
137 """
138 Basic test of raw query with a simple database query
139 """
140 query = "SELECT * FROM raw_query_author"
141 authors = Author.objects.all()
142 self.assertSuccessfulRawQuery(Author, query, authors)
143
144 def test_raw_query_lazy(self):
145 """

Callers

nothing calls this directly

Calls 2

allMethod · 0.45

Tested by

no test coverage detected