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

Method test_simple_raw_query

tests/raw_query/tests.py:136–142  ·  tests/raw_query/tests.py::RawQueryTests.test_simple_raw_query

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 class="st">"""
138 Basic test of raw query with a simple database query
139 class="st">"""
140 query = class="st">"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 class="st">"""

Callers

nothing calls this directly

Calls 2

allMethod · 0.45

Tested by

no test coverage detected