@override_settings(CELERY_ALWAYS_EAGER=False)
    def test_save(self):
        form = forms.InviteForm(
            {'emails': 'test@dj.local,test@dj.local,hi@dj.local,a@dj.local'}
        )
        form.created_by = mommy.make('accounts.User', is_superuser=True)
        self.assertTrue(form.is_valid())
        result = form.save()

        # If the form created the correct invites, there should be 3
        self.assertEqual(len(result), 3)

        # Because send_invite is a task, get the updated invite.
        first_result = Invite.objects.get(pk=result[0].pk)
        # Notified datetime should not be set.
        self.assertIsNone(first_result.notified)
Retrieve pandas object stored in file
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_forms.py/InviteFormTest.test_save--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.get