Skip to content

Commit

Permalink
Translations are in the query here
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Nov 16, 2024
1 parent e2adf57 commit 74eaa79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/raw_query/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,9 @@ def test_translations(self):
}
}
]
translations = {"first": "first_name", "last": "last_name"}
authors = Author.objects.all()
self.assertSuccessfulMongoRawQuery(
Author, query, authors, translations=translations
Author, query, authors
)

def test_params(self):
Expand Down

0 comments on commit 74eaa79

Please sign in to comment.