def test_form_valid_saves_image(self):
        path = os.path.dirname(os.path.abspath(__file__))
        small_image = os.path.join(path, '200x200.gif')
        with open(small_image) as fp:
            self.client.post(
                reverse('create_group'),
                {
                    'authgroup_form-name': 'Writing tests on a Friday',
                    'group_form-category': '1',
                    'image_form-image': fp}
            )

        group = Group.objects.latest('pk')
        self.assertIsNotNone(group.image)
Update the id nodes for this node.
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupCreateViewTest.test_form_valid_saves_image--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/compiler_nodes.py/DeclarativeNode.update_id_nodes