def editor_attributes(self, image, alt_text):
        return 'data-embedtype="image" data-id="%d" data-format="%s" data-alt="%s" ' % (
            image.id, self.name, alt_text
        )
Test for setup failure if no time is provided.
dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailimages/formats.py/Format.editor_attributes--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/automation/test_state.py/TestAutomationState.test_if_fails_setup_for_without_time