diff --git a/tests/select_related/tests.py b/tests/select_related/tests.py
index 667ac2f..3e5f270 100644
a
|
b
|
class SelectRelatedValidationTests(TestCase):
|
182 | 182 | with self.assertRaisesMessage(FieldError, self.non_relational_error % ('name', '(none)')): |
183 | 183 | list(Domain.objects.select_related('name')) |
184 | 184 | |
| 185 | def test_non_relational_field_nested(self): |
| 186 | with self.assertRaisesMessage(FieldError, self.non_relational_error % ('name', 'family')): |
| 187 | list(Species.objects.select_related('genus__name')) |
| 188 | |
185 | 189 | def test_many_to_many_field(self): |
186 | 190 | with self.assertRaisesMessage(FieldError, self.invalid_error % ('toppings', '(none)')): |
187 | 191 | list(Pizza.objects.select_related('toppings')) |