'Assert that we can query individual fields in the \'meta\' field in the UserProfile'

def test_enrolled_students_meta_features_keys(self):

    query_features = ('meta.position', 'meta.company')
    with self.assertNumQueries(1):
        userreports = enrolled_students_features(self.course_key, query_features)
    self.assertEqual(len(userreports), len(self.users))
    for userreport in userreports:
        self.assertEqual(set(userreport.keys()), set(query_features))
        self.assertIn(userreport['meta.position'], ['edX    expert    {}'.format(user.id) for user in self.users])
        self.assertIn(userreport['meta.company'], ['Open    edX    Inc    {}'.format(user.id) for user in self.users])
