'Check that the standard query terms can be correctly resolved.
eg, an \'EXACT\' lookup on a user\'s username'

def test_resolve_plain_lookups(self):

    model_field = User._meta.get_field('username')
    lookups = model_field.class_lookups.keys()
    for term in lookups:
        (field, lookup) = resolve_field(model_field, term)
        self.assertIsInstance(field, models.CharField)
        self.assertEqual(lookup, term)
