def test_form_valid_no_image(self):
        self.client.post(
            reverse('create_group'),
            {
                'authgroup_form-name': 'Writing tests on a Friday',
                'group_form-category': '1'}
        )

        group = Group.objects.latest('pk')
        self.assertIsNone(group.image)
If no image is posted, the group image should be None.
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupCreateViewTest.test_form_valid_no_image