def test_source_saved_signal():
    source_group = ImageFieldSourceGroup(ImageModel, 'image')
    receiver = make_counting_receiver(source_group)
    source_saved.connect(receiver)
    ImageModel.objects.create(image=File(get_image_file()))
    eq_(receiver.count, 1)
Creating a new instance with an image causes the source_saved signal to be
dataset/ETHPy150Open matthewwithanm/django-imagekit/tests/test_sourcegroups.py/test_source_saved_signal