(self)
| 201 | self.assertEqual(names, []) |
| 202 | |
| 203 | def test_names_to_path_field_error(self): |
| 204 | query = Query(None) |
| 205 | msg = "Cannot resolve keyword 'nonexistent' into field." |
| 206 | with self.assertRaisesMessage(FieldError, msg): |
| 207 | query.names_to_path(["nonexistent"], opts=None) |
| 208 | |
| 209 | def test_get_field_names_from_opts(self): |
| 210 | self.assertEqual(get_field_names_from_opts(None), set()) |
nothing calls this directly
no test coverage detected