MCPcopy
hub / github.com/django/django / test_extra_conversions

Method test_extra_conversions

tests/raw_query/tests.py:294–299  ·  view source on GitHub ↗

Extra translations are ignored.

(self)

Source from the content-addressed store, hash-verified

292 self.assertSuccessfulRawQuery(Reviewer, query, reviewers)
293
294 def test_extra_conversions(self):
295 """Extra translations are ignored."""
296 query = "SELECT * FROM raw_query_author"
297 translations = {"something": "else"}
298 authors = Author.objects.all()
299 self.assertSuccessfulRawQuery(Author, query, authors, translations=translations)
300
301 def test_missing_fields(self):
302 query = "SELECT id, first_name, dob FROM raw_query_author"

Callers

nothing calls this directly

Calls 2

allMethod · 0.45

Tested by

no test coverage detected