def test_non_verified_form_submit(self):
        form = GroupInviteForm({
            'emails': self.emails,
            'verified': False
        })
        self.assertTrue(form.is_valid())
        result = self.view.form_valid(form)

        context = result.context_data
        self.assertEqual(context['group'], self.group1)
        self.assertItemsEqual(
            list(context['existing'].values_list('pk', flat=True)),
            [self.user1.pk, self.user2.pk])
        self.assertEqual(
            context['new'],
            set([u'test3@example.com', u'test4@example.com'])
        )
        self.assertTrue(context['verify'])
Testing the length property.
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/TestGroupInviteView.test_non_verified_form_submit--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/geos/tests/test_geos.py/GEOSTest.test19_length