def METHOD_NAME(self, create_with_upload, ckan_config, faker):
    user = factories.User()
    context = {
        u"user": user["name"]
    }
    org = create_with_upload(
        faker.image(), u"image.png",
        context=context,
        action=u"organization_create",
        upload_field_name=u"image_upload",
        name=u"test-org"
    )
    image_path = os.path.join(
        ckan_config[u"ckan.storage_path"],
        u'storage',
        urlparse(org[u'image_display_url']).path.lstrip(u"/")
    )
    assert os.path.isfile(image_path)
    with open(image_path, u"rb") as image:
        content = image.read()
        # PNG signature
        assert content.hex()[:16].upper() == '89504E470D0A1A0A'