def it_can_construct_a_default_core_props(self):
        core_props = CoreProperties.default()
        # verify -----------------------
        assert isinstance(core_props, CoreProperties)
        assert core_props.content_type is CT.OPC_CORE_PROPERTIES
        assert core_props.partname == '/docProps/core.xml'
        assert isinstance(core_props._element, CT_CoreProperties)
        assert core_props.title == 'PowerPoint Presentation'
        assert core_props.last_modified_by == 'python-pptx'
        assert core_props.revision == 1
        # core_props.modified only stores time with seconds resolution, so
        # comparison needs to be a little loose (within two seconds)
        modified_timedelta = datetime.utcnow() - core_props.modified
        max_expected_timedelta = timedelta(seconds=2)
        assert modified_timedelta < max_expected_timedelta

    # fixtures -------------------------------------------------------
dataset/ETHPy150Open scanny/python-pptx/tests/parts/test_coreprops.py/DescribeCoreProperties.it_can_construct_a_default_core_props/original