def test_abstract_model_signals():
    source_group = ImageFieldSourceGroup(AbstractImageModel, 'original_image')
    receiver = make_counting_receiver(source_group)
    source_saved.connect(receiver)
    ConcreteImageModel.objects.create(original_image=File(get_image_file()))
    eq_(receiver.count, 1)
Source groups created for abstract models must cause signals to be
dataset/ETHPy150Open matthewwithanm/django-imagekit/tests/test_sourcegroups.py/test_abstract_model_signals