diff --git a/tests/lib/cff_1_0_3/a/test_apalike_object.py b/tests/lib/cff_1_0_3/a/test_apalike_object.py index aed7b7f1..40428931 100644 --- a/tests/lib/cff_1_0_3/a/test_apalike_object.py +++ b/tests/lib/cff_1_0_3/a/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_bibtex_object.py b/tests/lib/cff_1_0_3/a/test_bibtex_object.py index d69fdec4..ce12009b 100644 --- a/tests/lib/cff_1_0_3/a/test_bibtex_object.py +++ b/tests/lib/cff_1_0_3/a/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_codemeta_object.py b/tests/lib/cff_1_0_3/a/test_codemeta_object.py index da7a82d2..f3bb1980 100644 --- a/tests/lib/cff_1_0_3/a/test_codemeta_object.py +++ b/tests/lib/cff_1_0_3/a/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_endnote_object.py b/tests/lib/cff_1_0_3/a/test_endnote_object.py index cf7324ea..dec130c6 100644 --- a/tests/lib/cff_1_0_3/a/test_endnote_object.py +++ b/tests/lib/cff_1_0_3/a/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_ris_object.py b/tests/lib/cff_1_0_3/a/test_ris_object.py index 09a8432b..12ec2aea 100644 --- a/tests/lib/cff_1_0_3/a/test_ris_object.py +++ b/tests/lib/cff_1_0_3/a/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_schemaorg_object.py b/tests/lib/cff_1_0_3/a/test_schemaorg_object.py index ed6da5b5..a5fd9a09 100644 --- a/tests/lib/cff_1_0_3/a/test_schemaorg_object.py +++ b/tests/lib/cff_1_0_3/a/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/a/test_zenodo_object.py b/tests/lib/cff_1_0_3/a/test_zenodo_object.py index 73eb7012..fb0f0aaa 100644 --- a/tests/lib/cff_1_0_3/a/test_zenodo_object.py +++ b/tests/lib/cff_1_0_3/a/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_apalike_object.py b/tests/lib/cff_1_0_3/b/test_apalike_object.py index 5d386e10..445d5574 100644 --- a/tests/lib/cff_1_0_3/b/test_apalike_object.py +++ b/tests/lib/cff_1_0_3/b/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_bibtex_object.py b/tests/lib/cff_1_0_3/b/test_bibtex_object.py index 29e20d18..26f8e433 100644 --- a/tests/lib/cff_1_0_3/b/test_bibtex_object.py +++ b/tests/lib/cff_1_0_3/b/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_codemeta_object.py b/tests/lib/cff_1_0_3/b/test_codemeta_object.py index 224c3048..6909caac 100644 --- a/tests/lib/cff_1_0_3/b/test_codemeta_object.py +++ b/tests/lib/cff_1_0_3/b/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_endnote_object.py b/tests/lib/cff_1_0_3/b/test_endnote_object.py index ea539722..13108258 100644 --- a/tests/lib/cff_1_0_3/b/test_endnote_object.py +++ b/tests/lib/cff_1_0_3/b/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_ris_object.py b/tests/lib/cff_1_0_3/b/test_ris_object.py index 17c4407e..439d811a 100644 --- a/tests/lib/cff_1_0_3/b/test_ris_object.py +++ b/tests/lib/cff_1_0_3/b/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_schemaorg_object.py b/tests/lib/cff_1_0_3/b/test_schemaorg_object.py index 25011751..216cb235 100644 --- a/tests/lib/cff_1_0_3/b/test_schemaorg_object.py +++ b/tests/lib/cff_1_0_3/b/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/b/test_zenodo_object.py b/tests/lib/cff_1_0_3/b/test_zenodo_object.py index 4b86e66a..6ccd9c5c 100644 --- a/tests/lib/cff_1_0_3/b/test_zenodo_object.py +++ b/tests/lib/cff_1_0_3/b/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_apalike_object.py b/tests/lib/cff_1_0_3/c/test_apalike_object.py index 694b20ea..b926f3ec 100644 --- a/tests/lib/cff_1_0_3/c/test_apalike_object.py +++ b/tests/lib/cff_1_0_3/c/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_bibtex_object.py b/tests/lib/cff_1_0_3/c/test_bibtex_object.py index bf4b329c..9266a5cb 100644 --- a/tests/lib/cff_1_0_3/c/test_bibtex_object.py +++ b/tests/lib/cff_1_0_3/c/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_codemeta_object.py b/tests/lib/cff_1_0_3/c/test_codemeta_object.py index d8b8f510..e849e6c6 100644 --- a/tests/lib/cff_1_0_3/c/test_codemeta_object.py +++ b/tests/lib/cff_1_0_3/c/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_endnote_object.py b/tests/lib/cff_1_0_3/c/test_endnote_object.py index e210c9b6..b5670fb0 100644 --- a/tests/lib/cff_1_0_3/c/test_endnote_object.py +++ b/tests/lib/cff_1_0_3/c/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_ris_object.py b/tests/lib/cff_1_0_3/c/test_ris_object.py index adf03b99..f07000af 100644 --- a/tests/lib/cff_1_0_3/c/test_ris_object.py +++ b/tests/lib/cff_1_0_3/c/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_schemaorg_object.py b/tests/lib/cff_1_0_3/c/test_schemaorg_object.py index 5377d8a0..5e55d7cb 100644 --- a/tests/lib/cff_1_0_3/c/test_schemaorg_object.py +++ b/tests/lib/cff_1_0_3/c/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/c/test_zenodo_object.py b/tests/lib/cff_1_0_3/c/test_zenodo_object.py index 1220b5ee..94d13231 100644 --- a/tests/lib/cff_1_0_3/c/test_zenodo_object.py +++ b/tests/lib/cff_1_0_3/c/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_apalike_object.py b/tests/lib/cff_1_0_3/d/test_apalike_object.py index 374d400d..0fd224a0 100644 --- a/tests/lib/cff_1_0_3/d/test_apalike_object.py +++ b/tests/lib/cff_1_0_3/d/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_bibtex_object.py b/tests/lib/cff_1_0_3/d/test_bibtex_object.py index f21e340e..03ef9500 100644 --- a/tests/lib/cff_1_0_3/d/test_bibtex_object.py +++ b/tests/lib/cff_1_0_3/d/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_codemeta_object.py b/tests/lib/cff_1_0_3/d/test_codemeta_object.py index 0ec2ee04..58235b5b 100644 --- a/tests/lib/cff_1_0_3/d/test_codemeta_object.py +++ b/tests/lib/cff_1_0_3/d/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_endnote_object.py b/tests/lib/cff_1_0_3/d/test_endnote_object.py index 02071ef5..fa0c88df 100644 --- a/tests/lib/cff_1_0_3/d/test_endnote_object.py +++ b/tests/lib/cff_1_0_3/d/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_ris_object.py b/tests/lib/cff_1_0_3/d/test_ris_object.py index cd635c2f..c00961a4 100644 --- a/tests/lib/cff_1_0_3/d/test_ris_object.py +++ b/tests/lib/cff_1_0_3/d/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_schemaorg_object.py b/tests/lib/cff_1_0_3/d/test_schemaorg_object.py index 04598f49..c66a3bfc 100644 --- a/tests/lib/cff_1_0_3/d/test_schemaorg_object.py +++ b/tests/lib/cff_1_0_3/d/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/d/test_zenodo_object.py b/tests/lib/cff_1_0_3/d/test_zenodo_object.py index 5fc9913c..a6c6c7db 100644 --- a/tests/lib/cff_1_0_3/d/test_zenodo_object.py +++ b/tests/lib/cff_1_0_3/d/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_apalike_object.py b/tests/lib/cff_1_0_3/e/test_apalike_object.py index cd89519e..0f806e7b 100644 --- a/tests/lib/cff_1_0_3/e/test_apalike_object.py +++ b/tests/lib/cff_1_0_3/e/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_bibtex_object.py b/tests/lib/cff_1_0_3/e/test_bibtex_object.py index 3bf69031..e53194de 100644 --- a/tests/lib/cff_1_0_3/e/test_bibtex_object.py +++ b/tests/lib/cff_1_0_3/e/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_codemeta_object.py b/tests/lib/cff_1_0_3/e/test_codemeta_object.py index 72644ee5..ab313fe1 100644 --- a/tests/lib/cff_1_0_3/e/test_codemeta_object.py +++ b/tests/lib/cff_1_0_3/e/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_endnote_object.py b/tests/lib/cff_1_0_3/e/test_endnote_object.py index 9b606d59..b64ba049 100644 --- a/tests/lib/cff_1_0_3/e/test_endnote_object.py +++ b/tests/lib/cff_1_0_3/e/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_ris_object.py b/tests/lib/cff_1_0_3/e/test_ris_object.py index dab32b53..60461b6e 100644 --- a/tests/lib/cff_1_0_3/e/test_ris_object.py +++ b/tests/lib/cff_1_0_3/e/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_schemaorg_object.py b/tests/lib/cff_1_0_3/e/test_schemaorg_object.py index ac158e93..d878f1e1 100644 --- a/tests/lib/cff_1_0_3/e/test_schemaorg_object.py +++ b/tests/lib/cff_1_0_3/e/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_0_3/e/test_zenodo_object.py b/tests/lib/cff_1_0_3/e/test_zenodo_object.py index 6d61df47..f7224f39 100644 --- a/tests/lib/cff_1_0_3/e/test_zenodo_object.py +++ b/tests/lib/cff_1_0_3/e/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_apalike_object.py b/tests/lib/cff_1_1_0/a/test_apalike_object.py index cf4cf711..ec77a59e 100644 --- a/tests/lib/cff_1_1_0/a/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/a/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_bibtex_object.py b/tests/lib/cff_1_1_0/a/test_bibtex_object.py index 84f447ff..3b00207b 100644 --- a/tests/lib/cff_1_1_0/a/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/a/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_codemeta_object.py b/tests/lib/cff_1_1_0/a/test_codemeta_object.py index 1f351e71..42f526ef 100644 --- a/tests/lib/cff_1_1_0/a/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/a/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_endnote_object.py b/tests/lib/cff_1_1_0/a/test_endnote_object.py index 3d349bb3..5fc52c58 100644 --- a/tests/lib/cff_1_1_0/a/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/a/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_ris_object.py b/tests/lib/cff_1_1_0/a/test_ris_object.py index 7e90e3db..3d04ee5d 100644 --- a/tests/lib/cff_1_1_0/a/test_ris_object.py +++ b/tests/lib/cff_1_1_0/a/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_schemaorg_object.py b/tests/lib/cff_1_1_0/a/test_schemaorg_object.py index 38cf5619..71e7871f 100644 --- a/tests/lib/cff_1_1_0/a/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/a/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/a/test_zenodo_object.py b/tests/lib/cff_1_1_0/a/test_zenodo_object.py index ccc4b824..ed637bd0 100644 --- a/tests/lib/cff_1_1_0/a/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/a/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_apalike_object.py b/tests/lib/cff_1_1_0/b/test_apalike_object.py index cf4cf711..ec77a59e 100644 --- a/tests/lib/cff_1_1_0/b/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/b/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_bibtex_object.py b/tests/lib/cff_1_1_0/b/test_bibtex_object.py index 84f447ff..3b00207b 100644 --- a/tests/lib/cff_1_1_0/b/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/b/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_codemeta_object.py b/tests/lib/cff_1_1_0/b/test_codemeta_object.py index f50e6648..b3e7e452 100644 --- a/tests/lib/cff_1_1_0/b/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/b/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_endnote_object.py b/tests/lib/cff_1_1_0/b/test_endnote_object.py index 3d349bb3..5fc52c58 100644 --- a/tests/lib/cff_1_1_0/b/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/b/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_ris_object.py b/tests/lib/cff_1_1_0/b/test_ris_object.py index 7e90e3db..3d04ee5d 100644 --- a/tests/lib/cff_1_1_0/b/test_ris_object.py +++ b/tests/lib/cff_1_1_0/b/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_schemaorg_object.py b/tests/lib/cff_1_1_0/b/test_schemaorg_object.py index e237d412..41d5e7d9 100644 --- a/tests/lib/cff_1_1_0/b/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/b/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/b/test_zenodo_object.py b/tests/lib/cff_1_1_0/b/test_zenodo_object.py index ccc4b824..ed637bd0 100644 --- a/tests/lib/cff_1_1_0/b/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/b/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_apalike_object.py b/tests/lib/cff_1_1_0/c/test_apalike_object.py index cf4cf711..ec77a59e 100644 --- a/tests/lib/cff_1_1_0/c/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/c/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_bibtex_object.py b/tests/lib/cff_1_1_0/c/test_bibtex_object.py index 84f447ff..3b00207b 100644 --- a/tests/lib/cff_1_1_0/c/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/c/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_codemeta_object.py b/tests/lib/cff_1_1_0/c/test_codemeta_object.py index f50e6648..b3e7e452 100644 --- a/tests/lib/cff_1_1_0/c/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/c/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_endnote_object.py b/tests/lib/cff_1_1_0/c/test_endnote_object.py index 3d349bb3..5fc52c58 100644 --- a/tests/lib/cff_1_1_0/c/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/c/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_ris_object.py b/tests/lib/cff_1_1_0/c/test_ris_object.py index 7e90e3db..3d04ee5d 100644 --- a/tests/lib/cff_1_1_0/c/test_ris_object.py +++ b/tests/lib/cff_1_1_0/c/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_schemaorg_object.py b/tests/lib/cff_1_1_0/c/test_schemaorg_object.py index e237d412..41d5e7d9 100644 --- a/tests/lib/cff_1_1_0/c/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/c/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/c/test_zenodo_object.py b/tests/lib/cff_1_1_0/c/test_zenodo_object.py index a2b8f465..a22e0b4a 100644 --- a/tests/lib/cff_1_1_0/c/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/c/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_apalike_object.py b/tests/lib/cff_1_1_0/d/test_apalike_object.py index cf4cf711..ec77a59e 100644 --- a/tests/lib/cff_1_1_0/d/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/d/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_bibtex_object.py b/tests/lib/cff_1_1_0/d/test_bibtex_object.py index 84f447ff..3b00207b 100644 --- a/tests/lib/cff_1_1_0/d/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/d/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_codemeta_object.py b/tests/lib/cff_1_1_0/d/test_codemeta_object.py index f50e6648..b3e7e452 100644 --- a/tests/lib/cff_1_1_0/d/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/d/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_endnote_object.py b/tests/lib/cff_1_1_0/d/test_endnote_object.py index 3d349bb3..5fc52c58 100644 --- a/tests/lib/cff_1_1_0/d/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/d/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_ris_object.py b/tests/lib/cff_1_1_0/d/test_ris_object.py index 7e90e3db..3d04ee5d 100644 --- a/tests/lib/cff_1_1_0/d/test_ris_object.py +++ b/tests/lib/cff_1_1_0/d/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_schemaorg_object.py b/tests/lib/cff_1_1_0/d/test_schemaorg_object.py index e237d412..41d5e7d9 100644 --- a/tests/lib/cff_1_1_0/d/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/d/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/d/test_zenodo_object.py b/tests/lib/cff_1_1_0/d/test_zenodo_object.py index a2b8f465..a22e0b4a 100644 --- a/tests/lib/cff_1_1_0/d/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/d/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_apalike_object.py b/tests/lib/cff_1_1_0/e/test_apalike_object.py index fd2ecc2e..b50cb2ce 100644 --- a/tests/lib/cff_1_1_0/e/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/e/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_bibtex_object.py b/tests/lib/cff_1_1_0/e/test_bibtex_object.py index 5d4597cb..5364eb61 100644 --- a/tests/lib/cff_1_1_0/e/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/e/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_codemeta_object.py b/tests/lib/cff_1_1_0/e/test_codemeta_object.py index f461e549..e99cbf1a 100644 --- a/tests/lib/cff_1_1_0/e/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/e/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_endnote_object.py b/tests/lib/cff_1_1_0/e/test_endnote_object.py index 7fabf1ef..a179b48d 100644 --- a/tests/lib/cff_1_1_0/e/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/e/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_ris_object.py b/tests/lib/cff_1_1_0/e/test_ris_object.py index b50e6172..3ae0dc85 100644 --- a/tests/lib/cff_1_1_0/e/test_ris_object.py +++ b/tests/lib/cff_1_1_0/e/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_schemaorg_object.py b/tests/lib/cff_1_1_0/e/test_schemaorg_object.py index b84ff942..2b12bb61 100644 --- a/tests/lib/cff_1_1_0/e/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/e/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/e/test_zenodo_object.py b/tests/lib/cff_1_1_0/e/test_zenodo_object.py index 9640fda6..6d3d2338 100644 --- a/tests/lib/cff_1_1_0/e/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/e/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_apalike_object.py b/tests/lib/cff_1_1_0/f/test_apalike_object.py index cf4cf711..ec77a59e 100644 --- a/tests/lib/cff_1_1_0/f/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/f/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_bibtex_object.py b/tests/lib/cff_1_1_0/f/test_bibtex_object.py index 84f447ff..3b00207b 100644 --- a/tests/lib/cff_1_1_0/f/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/f/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_codemeta_object.py b/tests/lib/cff_1_1_0/f/test_codemeta_object.py index c6e239b5..a6d4272d 100644 --- a/tests/lib/cff_1_1_0/f/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/f/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_endnote_object.py b/tests/lib/cff_1_1_0/f/test_endnote_object.py index 3d349bb3..5fc52c58 100644 --- a/tests/lib/cff_1_1_0/f/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/f/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_ris_object.py b/tests/lib/cff_1_1_0/f/test_ris_object.py index 7e90e3db..3d04ee5d 100644 --- a/tests/lib/cff_1_1_0/f/test_ris_object.py +++ b/tests/lib/cff_1_1_0/f/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_schemaorg_object.py b/tests/lib/cff_1_1_0/f/test_schemaorg_object.py index 06930ae1..210c1bc1 100644 --- a/tests/lib/cff_1_1_0/f/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/f/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/f/test_zenodo_object.py b/tests/lib/cff_1_1_0/f/test_zenodo_object.py index a2b8f465..a22e0b4a 100644 --- a/tests/lib/cff_1_1_0/f/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/f/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_apalike_object.py b/tests/lib/cff_1_1_0/g/test_apalike_object.py index fd2ecc2e..b50cb2ce 100644 --- a/tests/lib/cff_1_1_0/g/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/g/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_bibtex_object.py b/tests/lib/cff_1_1_0/g/test_bibtex_object.py index 733e595c..6bfd5d26 100644 --- a/tests/lib/cff_1_1_0/g/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/g/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_codemeta_object.py b/tests/lib/cff_1_1_0/g/test_codemeta_object.py index 3c3ee245..d4451a09 100644 --- a/tests/lib/cff_1_1_0/g/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/g/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_endnote_object.py b/tests/lib/cff_1_1_0/g/test_endnote_object.py index 7fabf1ef..a179b48d 100644 --- a/tests/lib/cff_1_1_0/g/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/g/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_ris_object.py b/tests/lib/cff_1_1_0/g/test_ris_object.py index b50e6172..3ae0dc85 100644 --- a/tests/lib/cff_1_1_0/g/test_ris_object.py +++ b/tests/lib/cff_1_1_0/g/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_schemaorg_object.py b/tests/lib/cff_1_1_0/g/test_schemaorg_object.py index 65fafba7..428eb3e2 100644 --- a/tests/lib/cff_1_1_0/g/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/g/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/g/test_zenodo_object.py b/tests/lib/cff_1_1_0/g/test_zenodo_object.py index 7e5f2e65..130ee89b 100644 --- a/tests/lib/cff_1_1_0/g/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/g/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_apalike_object.py b/tests/lib/cff_1_1_0/h/test_apalike_object.py index e3aad98b..d8d85d15 100644 --- a/tests/lib/cff_1_1_0/h/test_apalike_object.py +++ b/tests/lib/cff_1_1_0/h/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_bibtex_object.py b/tests/lib/cff_1_1_0/h/test_bibtex_object.py index 841e76e2..fd97f10d 100644 --- a/tests/lib/cff_1_1_0/h/test_bibtex_object.py +++ b/tests/lib/cff_1_1_0/h/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_codemeta_object.py b/tests/lib/cff_1_1_0/h/test_codemeta_object.py index e3d01e9f..2c3b98e1 100644 --- a/tests/lib/cff_1_1_0/h/test_codemeta_object.py +++ b/tests/lib/cff_1_1_0/h/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_endnote_object.py b/tests/lib/cff_1_1_0/h/test_endnote_object.py index e5cfa258..b7f06a76 100644 --- a/tests/lib/cff_1_1_0/h/test_endnote_object.py +++ b/tests/lib/cff_1_1_0/h/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_ris_object.py b/tests/lib/cff_1_1_0/h/test_ris_object.py index a7c51102..d102d9c4 100644 --- a/tests/lib/cff_1_1_0/h/test_ris_object.py +++ b/tests/lib/cff_1_1_0/h/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_schemaorg_object.py b/tests/lib/cff_1_1_0/h/test_schemaorg_object.py index 7e32075d..77764cd5 100644 --- a/tests/lib/cff_1_1_0/h/test_schemaorg_object.py +++ b/tests/lib/cff_1_1_0/h/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_1_0/h/test_zenodo_object.py b/tests/lib/cff_1_1_0/h/test_zenodo_object.py index dfa836a3..9ff8eba1 100644 --- a/tests/lib/cff_1_1_0/h/test_zenodo_object.py +++ b/tests/lib/cff_1_1_0/h/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_apalike_object.py index de2d2896..231f7013 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_bibtex_object.py index 10e53bd3..a8ab6426 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_codemeta_object.py index d6f2d923..e8353f0b 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_endnote_object.py index 4b64403f..af9953c0 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_ris_object.py index 6d338532..7b2d2a77 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_schemaorg_object.py index 9086afa6..db9c8e5c 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_zenodo_object.py index 0aad8b7b..83c48212 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_apalike_object.py index de2d2896..231f7013 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_bibtex_object.py index 10e53bd3..a8ab6426 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_codemeta_object.py index 3d62f289..4752eefb 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_endnote_object.py index 4b64403f..af9953c0 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_ris_object.py index 6d338532..7b2d2a77 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_schemaorg_object.py index 15cfe186..ed39367f 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_zenodo_object.py index 0aad8b7b..83c48212 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_apalike_object.py index bf60212b..c15eccbf 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_bibtex_object.py index 4c9e64f2..f86d86ac 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_codemeta_object.py index a242eb9e..e70988a8 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_endnote_object.py index cbf860f3..b3472f2d 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_ris_object.py index 860d2fcc..09cb1f08 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_schemaorg_object.py index 62345781..050e71c1 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/GFA____/test_zenodo_object.py index 80fd3b7d..8d4da6d8 100644 --- a/tests/lib/cff_1_2_0/authors/one/GFA____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_apalike_object.py index bf60212b..c15eccbf 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_bibtex_object.py index 4c9e64f2..f86d86ac 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_codemeta_object.py index 1ca4c6e2..7eb9743e 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_endnote_object.py index cbf860f3..b3472f2d 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_ris_object.py index 860d2fcc..09cb1f08 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_schemaorg_object.py index 3ba74c96..08b00341 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/GF_____/test_zenodo_object.py index 80fd3b7d..8d4da6d8 100644 --- a/tests/lib/cff_1_2_0/authors/one/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_apalike_object.py index 761ab3d6..e49b003d 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_bibtex_object.py index db3a21f1..7a3a69cb 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_codemeta_object.py index f43c8c07..4971a948 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_endnote_object.py index da173040..b7394c44 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_ris_object.py index 1a67abee..3f6eea9d 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_schemaorg_object.py index e06471b9..be73a05f 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/G_A____/test_zenodo_object.py index a5d466b8..70447ec2 100644 --- a/tests/lib/cff_1_2_0/authors/one/G_A____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_apalike_object.py index 761ab3d6..e49b003d 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_bibtex_object.py index db3a21f1..7a3a69cb 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_codemeta_object.py index 5155127b..9dd1343d 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_endnote_object.py index da173040..b7394c44 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_ris_object.py index 1a67abee..3f6eea9d 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_schemaorg_object.py index 8a1642fc..c5a74bfc 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/G______/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/G______/test_zenodo_object.py index a5d466b8..70447ec2 100644 --- a/tests/lib/cff_1_2_0/authors/one/G______/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_apalike_object.py index e699d1c2..9e5b9d3e 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_bibtex_object.py index 7751534d..15a3688e 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_codemeta_object.py index b82c867f..971fad10 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_endnote_object.py index 042fc82c..179b5196 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_ris_object.py index 21bbee2c..02c9ab27 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_schemaorg_object.py index d7ce1110..d33bc406 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/_FA____/test_zenodo_object.py index 4f733039..4271d778 100644 --- a/tests/lib/cff_1_2_0/authors/one/_FA____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_apalike_object.py index e699d1c2..9e5b9d3e 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_bibtex_object.py index 7751534d..15a3688e 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_codemeta_object.py index 3524870b..6024066c 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_endnote_object.py index 042fc82c..179b5196 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_ris_object.py index 21bbee2c..02c9ab27 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_schemaorg_object.py index e4fb8d6c..7c38c75b 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/_F_____/test_zenodo_object.py index 4f733039..4271d778 100644 --- a/tests/lib/cff_1_2_0/authors/one/_F_____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_apalike_object.py index 5b6633d7..83e2c26c 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_bibtex_object.py index 299eab79..25ef25a1 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_codemeta_object.py index b4c0c926..2c54430a 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_endnote_object.py index c3538ee9..63ba5536 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_ris_object.py index 95e2c375..7fd51276 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_schemaorg_object.py index cfcf0a87..fc3cb126 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/__AN___/test_zenodo_object.py index 0f77b428..06c0b7e9 100644 --- a/tests/lib/cff_1_2_0/authors/one/__AN___/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_apalike_object.py index 5b6633d7..83e2c26c 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_bibtex_object.py index 299eab79..25ef25a1 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_codemeta_object.py index a447cd9f..660311bb 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_endnote_object.py index c3538ee9..63ba5536 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_ris_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_ris_object.py index 95e2c375..7fd51276 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_schemaorg_object.py index a9c75c25..9f1774f3 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/one/___N___/test_zenodo_object.py index 5c1eb297..edeecfcd 100644 --- a/tests/lib/cff_1_2_0/authors/one/___N___/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_apalike_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_apalike_object.py index bc1334cd..ac15fc13 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_bibtex_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_bibtex_object.py index 663473c7..548153b4 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_codemeta_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_codemeta_object.py index 3f7f15a8..1db3c67b 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_endnote_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_endnote_object.py index 00afb8f4..ac1b17a1 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_ris_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_ris_object.py index 0734f8c9..02cff2b7 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_schemaorg_object.py index bc02c392..cb33a018 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/test_zenodo_object.py b/tests/lib/cff_1_2_0/authors/two/GF_____/test_zenodo_object.py index a5043f99..cab00b04 100644 --- a/tests/lib/cff_1_2_0/authors/two/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_apalike_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_apalike_object.py index 1e788066..c037542c 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_bibtex_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_bibtex_object.py index 6764477d..38b464ec 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_codemeta_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_codemeta_object.py index 3e88459c..4401cfce 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_endnote_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_endnote_object.py index 315b6f5a..00302b88 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_ris_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_ris_object.py index e523bc1d..c73d44a6 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_ris_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_schemaorg_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_schemaorg_object.py index 53d6ee0a..d11bf449 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI/test_zenodo_object.py b/tests/lib/cff_1_2_0/identifiers/DI/test_zenodo_object.py index 07349cb7..b6d760a8 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_apalike_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_apalike_object.py index be40d795..3ff23198 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_bibtex_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_bibtex_object.py index 836b06a5..aa1715c5 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_codemeta_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_codemeta_object.py index 58875749..9912286a 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_endnote_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_endnote_object.py index 8ea908c9..202b0d22 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_ris_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_ris_object.py index 125596b5..e44878f8 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_ris_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_schemaorg_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_schemaorg_object.py index 1e1141a4..f73d1e01 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_zenodo_object.py b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_zenodo_object.py index 12446d5d..dd32181a 100644 --- a/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/identifiers/DI_duplicate_values/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_apalike_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_apalike_object.py index 4be48b39..1dc63363 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_bibtex_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_bibtex_object.py index a0f4e36b..ff803398 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_codemeta_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_codemeta_object.py index c2433e1f..058f3387 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_endnote_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_endnote_object.py index 42c161e8..fb47c080 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_ris_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_ris_object.py index a10809c8..1fb50a53 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_schemaorg_object.py index 27152782..c6bd579c 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/D_/test_zenodo_object.py b/tests/lib/cff_1_2_0/identifiers/D_/test_zenodo_object.py index c75c0426..02971b2c 100644 --- a/tests/lib/cff_1_2_0/identifiers/D_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/identifiers/D_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_apalike_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_apalike_object.py index 1e788066..c037542c 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_bibtex_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_bibtex_object.py index 6764477d..38b464ec 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_codemeta_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_codemeta_object.py index 3e88459c..4401cfce 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_endnote_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_endnote_object.py index 315b6f5a..00302b88 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_ris_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_ris_object.py index e523bc1d..c73d44a6 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_ris_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_schemaorg_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_schemaorg_object.py index 53d6ee0a..d11bf449 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/_I/test_zenodo_object.py b/tests/lib/cff_1_2_0/identifiers/_I/test_zenodo_object.py index 002f3f6e..df6925c0 100644 --- a/tests/lib/cff_1_2_0/identifiers/_I/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/identifiers/_I/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_apalike_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_apalike_object.py index 980a875f..38bd129a 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_bibtex_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_bibtex_object.py index 40efe511..061f8720 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_codemeta_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_codemeta_object.py index 764b60dc..aa5f50a9 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_endnote_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_endnote_object.py index f0d02e9b..ca4c2d85 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_ris_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_ris_object.py index 51b295af..3a2ab11c 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_ris_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_schemaorg_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_schemaorg_object.py index f534cbe0..af9bdf8f 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/identifiers/__/test_zenodo_object.py b/tests/lib/cff_1_2_0/identifiers/__/test_zenodo_object.py index de1a0c0f..f56b8af2 100644 --- a/tests/lib/cff_1_2_0/identifiers/__/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/identifiers/__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/dataset/test_schemaorg_object.py b/tests/lib/cff_1_2_0/types/dataset/test_schemaorg_object.py index 0dab3d72..77f3f8b2 100644 --- a/tests/lib/cff_1_2_0/types/dataset/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/types/dataset/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/dataset/test_zenodo_object.py b/tests/lib/cff_1_2_0/types/dataset/test_zenodo_object.py index 4b2aa6fb..2946febb 100644 --- a/tests/lib/cff_1_2_0/types/dataset/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/types/dataset/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/none/test_schemaorg_object.py b/tests/lib/cff_1_2_0/types/none/test_schemaorg_object.py index 46a81a42..ae70fbc3 100644 --- a/tests/lib/cff_1_2_0/types/none/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/types/none/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/none/test_zenodo_object.py b/tests/lib/cff_1_2_0/types/none/test_zenodo_object.py index d4c948c5..17fef72b 100644 --- a/tests/lib/cff_1_2_0/types/none/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/types/none/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/software/test_schemaorg_object.py b/tests/lib/cff_1_2_0/types/software/test_schemaorg_object.py index 46a81a42..ae70fbc3 100644 --- a/tests/lib/cff_1_2_0/types/software/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/types/software/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/types/software/test_zenodo_object.py b/tests/lib/cff_1_2_0/types/software/test_zenodo_object.py index d4c948c5..17fef72b 100644 --- a/tests/lib/cff_1_2_0/types/software/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/types/software/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRACU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IRACU/test_zenodo_object.py index d2a5d2f7..529072fe 100644 --- a/tests/lib/cff_1_2_0/urls/IRACU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IRACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRAC_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IRAC_/test_zenodo_object.py index dd45a06d..d9e3bd22 100644 --- a/tests/lib/cff_1_2_0/urls/IRAC_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IRAC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_codemeta_object.py index d1a08cf3..58bd771d 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_schemaorg_object.py index 21cdddde..9380bd49 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA_U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IRA_U/test_zenodo_object.py index b1f82863..ac189a56 100644 --- a/tests/lib/cff_1_2_0/urls/IRA_U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_codemeta_object.py index d1a08cf3..58bd771d 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_schemaorg_object.py index 21cdddde..9380bd49 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IRA__/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IRA__/test_zenodo_object.py index 08b55cbb..e512bb3a 100644 --- a/tests/lib/cff_1_2_0/urls/IRA__/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IRA__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_CU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IR_CU/test_zenodo_object.py index 0db70a6c..96a0a7f1 100644 --- a/tests/lib/cff_1_2_0/urls/IR_CU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR_C_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IR_C_/test_zenodo_object.py index 3f07c737..af44ebc3 100644 --- a/tests/lib/cff_1_2_0/urls/IR_C_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IR_C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_codemeta_object.py index d1a08cf3..58bd771d 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_schemaorg_object.py index 21cdddde..9380bd49 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR__U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IR__U/test_zenodo_object.py index de07a8ce..9a87ba11 100644 --- a/tests/lib/cff_1_2_0/urls/IR__U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IR__U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_codemeta_object.py index d1a08cf3..58bd771d 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_ris_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_schemaorg_object.py index 21cdddde..9380bd49 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/IR___/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/IR___/test_zenodo_object.py index c68cdbd2..402ff23e 100644 --- a/tests/lib/cff_1_2_0/urls/IR___/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/IR___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_ACU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I_ACU/test_zenodo_object.py index d0927032..641056aa 100644 --- a/tests/lib/cff_1_2_0/urls/I_ACU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I_ACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_AC_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I_AC_/test_zenodo_object.py index 0089140c..66557c8d 100644 --- a/tests/lib/cff_1_2_0/urls/I_AC_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I_AC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_codemeta_object.py index e368fcce..982a880e 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_schemaorg_object.py index c0dddb1f..a438e39d 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A_U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I_A_U/test_zenodo_object.py index 438471c0..73ce35cb 100644 --- a/tests/lib/cff_1_2_0/urls/I_A_U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_codemeta_object.py index e368fcce..982a880e 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_schemaorg_object.py index c0dddb1f..a438e39d 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I_A__/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I_A__/test_zenodo_object.py index a1e90b09..e90312a6 100644 --- a/tests/lib/cff_1_2_0/urls/I_A__/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I_A__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__CU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I__CU/test_zenodo_object.py index 9c9d252a..845cf22d 100644 --- a/tests/lib/cff_1_2_0/urls/I__CU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I__CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_codemeta_object.py index 60ca6166..f15b25e5 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_schemaorg_object.py index 8856e1b4..b231c44f 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I__C_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I__C_/test_zenodo_object.py index 4df3683e..8dc3a979 100644 --- a/tests/lib/cff_1_2_0/urls/I__C_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I__C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_codemeta_object.py index e368fcce..982a880e 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_schemaorg_object.py index c0dddb1f..a438e39d 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I___U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I___U/test_zenodo_object.py index 11892b7f..068a8986 100644 --- a/tests/lib/cff_1_2_0/urls/I___U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I___U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/I____/test_apalike_object.py index 3cc060fa..018d5d51 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/I____/test_bibtex_object.py index 9e7cd587..422a107a 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/I____/test_codemeta_object.py index e368fcce..982a880e 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/I____/test_endnote_object.py index b74b66d8..026e9d28 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_ris_object.py b/tests/lib/cff_1_2_0/urls/I____/test_ris_object.py index 77f04932..aa9f2718 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/I____/test_schemaorg_object.py index c0dddb1f..a438e39d 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/I____/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/I____/test_zenodo_object.py index 28686b3d..c0c93fed 100644 --- a/tests/lib/cff_1_2_0/urls/I____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/I____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_codemeta_object.py index 9eece47f..c41d178f 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_schemaorg_object.py index 38673b49..7bcbb5ae 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RACU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_RACU/test_zenodo_object.py index df713507..e3af508b 100644 --- a/tests/lib/cff_1_2_0/urls/_RACU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_RACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_apalike_object.py index 366d578e..d6ed763a 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_bibtex_object.py index 8a1c2ac8..fbcfb7bf 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_codemeta_object.py index 5ba128ed..788d0ee0 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_endnote_object.py index 9467532e..2c729053 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_ris_object.py index 1dd0c4c3..972aab36 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_schemaorg_object.py index 52b44c12..dd8761f2 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RAC_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_RAC_/test_zenodo_object.py index 41e5cff5..0cd298bf 100644 --- a/tests/lib/cff_1_2_0/urls/_RAC_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_RAC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_codemeta_object.py index 9111afee..d05dcc0e 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_schemaorg_object.py index f1613444..e26db990 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA_U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_RA_U/test_zenodo_object.py index 552cd3e4..22b97406 100644 --- a/tests/lib/cff_1_2_0/urls/_RA_U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_apalike_object.py index bb31f6b7..83132f23 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_bibtex_object.py index 551f7775..d210e04f 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_codemeta_object.py index d0a661c6..a53dc6ff 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_endnote_object.py index bfd8bfc2..67172b00 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_ris_object.py index 2c3896bc..d60db780 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_schemaorg_object.py index cb9a2aa2..f31ac82e 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_RA__/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_RA__/test_zenodo_object.py index d9965576..771cf7bf 100644 --- a/tests/lib/cff_1_2_0/urls/_RA__/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_RA__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_codemeta_object.py index 9eece47f..c41d178f 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_schemaorg_object.py index 38673b49..7bcbb5ae 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_CU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_R_CU/test_zenodo_object.py index 98c562b5..168d9810 100644 --- a/tests/lib/cff_1_2_0/urls/_R_CU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_apalike_object.py index 366d578e..d6ed763a 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_bibtex_object.py index 8a1c2ac8..fbcfb7bf 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_codemeta_object.py index 5ba128ed..788d0ee0 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_endnote_object.py index 9467532e..2c729053 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_ris_object.py index 1dd0c4c3..972aab36 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_schemaorg_object.py index 52b44c12..dd8761f2 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R_C_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_R_C_/test_zenodo_object.py index 47417c04..34bd357b 100644 --- a/tests/lib/cff_1_2_0/urls/_R_C_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_R_C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_codemeta_object.py index 9111afee..d05dcc0e 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_schemaorg_object.py index f1613444..e26db990 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R__U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_R__U/test_zenodo_object.py index c4ce450b..2d1bd117 100644 --- a/tests/lib/cff_1_2_0/urls/_R__U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_R__U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_apalike_object.py index bb31f6b7..83132f23 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_bibtex_object.py index 551f7775..d210e04f 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_codemeta_object.py index 7ba04449..edbc6df0 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_endnote_object.py index bfd8bfc2..67172b00 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_ris_object.py index 2c3896bc..d60db780 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_schemaorg_object.py index 512e9d9a..ea70392f 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_R___/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_R___/test_zenodo_object.py index 3140341d..89559b57 100644 --- a/tests/lib/cff_1_2_0/urls/_R___/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_R___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_codemeta_object.py index 9eece47f..c41d178f 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_schemaorg_object.py index 38673b49..7bcbb5ae 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__ACU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/__ACU/test_zenodo_object.py index 3111f503..b7b526b4 100644 --- a/tests/lib/cff_1_2_0/urls/__ACU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/__ACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_apalike_object.py index 366d578e..d6ed763a 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_bibtex_object.py index 8a1c2ac8..fbcfb7bf 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_codemeta_object.py index 922c7da6..0c5d7ee0 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_endnote_object.py index 9467532e..2c729053 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_ris_object.py index 1dd0c4c3..972aab36 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_schemaorg_object.py index 9a9615f9..9f5487cc 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__AC_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/__AC_/test_zenodo_object.py index e20b61a2..3831ce29 100644 --- a/tests/lib/cff_1_2_0/urls/__AC_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/__AC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_codemeta_object.py index 9369b8f2..83a70f9e 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_schemaorg_object.py index 495453f5..2b59e6f4 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A_U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/__A_U/test_zenodo_object.py index 91f56c12..5fe57029 100644 --- a/tests/lib/cff_1_2_0/urls/__A_U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/__A_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_apalike_object.py index 206a7858..9b3f6fdd 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_bibtex_object.py index cb35a684..e2b2a2d0 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_codemeta_object.py index 40610ed5..f753561f 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_endnote_object.py index 89e037bd..20ec5d3f 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_ris_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_ris_object.py index 24a8a04a..84ca6108 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_schemaorg_object.py index 9d147783..3f5bf7ff 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/__A__/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/__A__/test_zenodo_object.py index 3a0fa229..bc6865bf 100644 --- a/tests/lib/cff_1_2_0/urls/__A__/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/__A__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_codemeta_object.py index 9eece47f..c41d178f 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_ris_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_schemaorg_object.py index 38673b49..7bcbb5ae 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___CU/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/___CU/test_zenodo_object.py index b1663259..2c14b8a5 100644 --- a/tests/lib/cff_1_2_0/urls/___CU/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/___CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_apalike_object.py index 366d578e..d6ed763a 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_bibtex_object.py index 8a1c2ac8..fbcfb7bf 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_codemeta_object.py index 3b0612ff..e16e5bcd 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_endnote_object.py index 9467532e..2c729053 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_ris_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_ris_object.py index 1dd0c4c3..972aab36 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_schemaorg_object.py index c3b75bb9..f82e6209 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/___C_/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/___C_/test_zenodo_object.py index 0468ba23..2e4713b2 100644 --- a/tests/lib/cff_1_2_0/urls/___C_/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/___C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/____U/test_apalike_object.py index 2dc42eb9..90f7529b 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/____U/test_bibtex_object.py index c326d464..e8f35653 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/____U/test_codemeta_object.py index 9369b8f2..83a70f9e 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/____U/test_endnote_object.py index c0ec902b..562d3592 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_ris_object.py b/tests/lib/cff_1_2_0/urls/____U/test_ris_object.py index 6979d73c..4f099cf9 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/____U/test_schemaorg_object.py index 495453f5..2b59e6f4 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/____U/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/____U/test_zenodo_object.py index 3194b462..ea1fde0f 100644 --- a/tests/lib/cff_1_2_0/urls/____U/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/____U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_apalike_object.py b/tests/lib/cff_1_2_0/urls/_____/test_apalike_object.py index d1277e36..096a05e1 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_apalike_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_bibtex_object.py b/tests/lib/cff_1_2_0/urls/_____/test_bibtex_object.py index 920bb0da..3c91da40 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_bibtex_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_codemeta_object.py b/tests/lib/cff_1_2_0/urls/_____/test_codemeta_object.py index 5904fa13..b96d2d9d 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_codemeta_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_endnote_object.py b/tests/lib/cff_1_2_0/urls/_____/test_endnote_object.py index 2aba5d04..70d4ad47 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_endnote_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_ris_object.py b/tests/lib/cff_1_2_0/urls/_____/test_ris_object.py index 51b295af..3a2ab11c 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_ris_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_schemaorg_object.py b/tests/lib/cff_1_2_0/urls/_____/test_schemaorg_object.py index 5524ca97..fa72f2d1 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_2_0/urls/_____/test_zenodo_object.py b/tests/lib/cff_1_2_0/urls/_____/test_zenodo_object.py index 70e5187a..816444c1 100644 --- a/tests/lib/cff_1_2_0/urls/_____/test_zenodo_object.py +++ b/tests/lib/cff_1_2_0/urls/_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_apalike_object.py index f850ec6e..718a1fde 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_bibtex_object.py index 18d8552e..29d179e5 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_codemeta_object.py index 85bdfbbb..e5778ce7 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_endnote_object.py index 5c12d110..a44bc19e 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_ris_object.py index 374a27a2..e7ef1632 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_schemaorg_object.py index b736faa0..116422dd 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_zenodo_object.py index 53cd34c4..36376efb 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_apalike_object.py index f850ec6e..718a1fde 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_bibtex_object.py index 18d8552e..29d179e5 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_codemeta_object.py index f9815b3a..2b74404d 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_endnote_object.py index 5c12d110..a44bc19e 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_ris_object.py index 374a27a2..e7ef1632 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_schemaorg_object.py index 551b8113..3e2ac56b 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_zenodo_object.py index 53cd34c4..36376efb 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_apalike_object.py index 980b77ca..f066be79 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_bibtex_object.py index 1f205334..4aa05cc3 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_codemeta_object.py index ae7951c0..61d8b1cf 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_endnote_object.py index a5603568..74265697 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_ris_object.py index 932c3508..ab07dbc5 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_schemaorg_object.py index 22294ded..1946f80b 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/GFA____/test_zenodo_object.py index db1820cb..e26d2153 100644 --- a/tests/lib/cff_1_3_0/authors/one/GFA____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_apalike_object.py index 980b77ca..f066be79 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_bibtex_object.py index 1f205334..4aa05cc3 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_codemeta_object.py index 8f16e4db..febc508e 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_endnote_object.py index a5603568..74265697 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_ris_object.py index 932c3508..ab07dbc5 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_schemaorg_object.py index 9d821976..0a5e83b7 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/GF_____/test_zenodo_object.py index db1820cb..e26d2153 100644 --- a/tests/lib/cff_1_3_0/authors/one/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_apalike_object.py index ed453efe..9224e7ee 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_bibtex_object.py index fb6bcc74..1ba1c83f 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_codemeta_object.py index 2b210d01..f6d7a367 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_endnote_object.py index 0ad87e77..9c318660 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_ris_object.py index fab79412..5764fa80 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_schemaorg_object.py index 0ae047f8..6ee73eb8 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/G_A____/test_zenodo_object.py index 17ad056f..86739731 100644 --- a/tests/lib/cff_1_3_0/authors/one/G_A____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_apalike_object.py index ed453efe..9224e7ee 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_bibtex_object.py index fb6bcc74..1ba1c83f 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_codemeta_object.py index 9a8e577a..63574c7e 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_endnote_object.py index 0ad87e77..9c318660 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_ris_object.py index fab79412..5764fa80 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_schemaorg_object.py index 7c18d810..0757029c 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/G______/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/G______/test_zenodo_object.py index 17ad056f..86739731 100644 --- a/tests/lib/cff_1_3_0/authors/one/G______/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_apalike_object.py index 25962c49..e401b92a 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_bibtex_object.py index 6239de89..f86ec0b0 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_codemeta_object.py index 859485a3..c991d575 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_endnote_object.py index d7390308..af1dddf2 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_ris_object.py index e0f2d0f5..e219a9dd 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_schemaorg_object.py index 53ee69cf..fddba137 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/_FA____/test_zenodo_object.py index a38bd3ef..f75e19c0 100644 --- a/tests/lib/cff_1_3_0/authors/one/_FA____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_apalike_object.py index 25962c49..e401b92a 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_bibtex_object.py index 6239de89..f86ec0b0 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_codemeta_object.py index e6dcf51f..5eb51219 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_endnote_object.py index d7390308..af1dddf2 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_ris_object.py index e0f2d0f5..e219a9dd 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_schemaorg_object.py index 5054d78a..917ee559 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/_F_____/test_zenodo_object.py index a38bd3ef..f75e19c0 100644 --- a/tests/lib/cff_1_3_0/authors/one/_F_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_apalike_object.py index c3d55df6..533049ba 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_bibtex_object.py index 101a4ed8..9e69481d 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_codemeta_object.py index a9517187..a90a6086 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_endnote_object.py index 0ad9ae90..0fae7cc7 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_ris_object.py index 5b149c45..f447343a 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_schemaorg_object.py index 6a3ffeda..9edae241 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/__AN___/test_zenodo_object.py index bfa8f5d7..cca9e8dc 100644 --- a/tests/lib/cff_1_3_0/authors/one/__AN___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_apalike_object.py index 8a06feea..c9a72b66 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_bibtex_object.py index da29496e..ea7cee79 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_codemeta_object.py index 77e2880a..80ab8fb8 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_endnote_object.py index c4d84f96..2d505bb2 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_ris_object.py index fb078938..665a8a0f 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_schemaorg_object.py index 41539913..f87b3546 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/__A____/test_zenodo_object.py index a0e361f5..c512f1ad 100644 --- a/tests/lib/cff_1_3_0/authors/one/__A____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_apalike_object.py index c3d55df6..533049ba 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_bibtex_object.py index 101a4ed8..9e69481d 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_codemeta_object.py index d96d94e0..8d7b7377 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_endnote_object.py index 0ad9ae90..0fae7cc7 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_ris_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_ris_object.py index 5b149c45..f447343a 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_schemaorg_object.py index 17731ed8..846ba02f 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/one/___N___/test_zenodo_object.py index 764b37ac..c88b41da 100644 --- a/tests/lib/cff_1_3_0/authors/one/___N___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_apalike_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_apalike_object.py index bfcd6354..eceea980 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_bibtex_object.py index acb4114c..2560e119 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_codemeta_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_codemeta_object.py index e11c974e..355f0174 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_endnote_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_endnote_object.py index 39d47076..f864fbe9 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_ris_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_ris_object.py index a7310777..85a469ae 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_schemaorg_object.py index 0895a2fc..0746092d 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/authors/two/GF_____/test_zenodo_object.py index 798fdabc..f5b989a5 100644 --- a/tests/lib/cff_1_3_0/authors/two/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_schemaorg_object.py index 6b1cf010..8aa1680a 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_zenodo_object.py index edc02668..43a38544 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AOE/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_schemaorg_object.py index eaf59bc3..a42ec4dc 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_zenodo_object.py index edc02668..43a38544 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA_AO_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_schemaorg_object.py index 421aabd6..55305669 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_zenodo_object.py index fbb4bb21..58b1570d 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GFA____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GFA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_schemaorg_object.py index ad017c31..4e42f617 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_zenodo_object.py index fbb4bb21..58b1570d 100644 --- a/tests/lib/cff_1_3_0/contributors/one/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_schemaorg_object.py index 0467c938..bf94a35d 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_zenodo_object.py index ad95ad49..2f3867e1 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G_A____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G_A____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_schemaorg_object.py index 0b2d1ae6..5340d7f1 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/G______/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/G______/test_zenodo_object.py index ad95ad49..2f3867e1 100644 --- a/tests/lib/cff_1_3_0/contributors/one/G______/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/G______/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_schemaorg_object.py index 401674e6..bc896e90 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_zenodo_object.py index 4cf7fe1a..1a076e41 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_FA____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_FA____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_schemaorg_object.py index e56d6f97..1a5be2d5 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_zenodo_object.py index 4cf7fe1a..1a076e41 100644 --- a/tests/lib/cff_1_3_0/contributors/one/_F_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/_F_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_schemaorg_object.py index e1aac330..1386aa1f 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_zenodo_object.py index 780a5b00..e942511b 100644 --- a/tests/lib/cff_1_3_0/contributors/one/__AN___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/__AN___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_schemaorg_object.py index 683ac813..c64df510 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/one/___N___/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/one/___N___/test_zenodo_object.py index b677d5ea..f5fd732d 100644 --- a/tests/lib/cff_1_3_0/contributors/one/___N___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/one/___N___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_apalike_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_apalike_object.py index 6fbec78b..3cf4d351 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_bibtex_object.py index f19cf732..96f5d418 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_endnote_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_endnote_object.py index 1d62e0e0..0f7e1932 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_ris_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_ris_object.py index 0c602b04..2194e745 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_schemaorg_object.py index 18aa1f23..bd0bbc6f 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_zenodo_object.py index 53d583e1..13c67692 100644 --- a/tests/lib/cff_1_3_0/contributors/two/GF_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/contributors/two/GF_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/relation/test_zenodo_related_identifiers.py b/tests/lib/cff_1_3_0/identifiers/relation/test_zenodo_related_identifiers.py index 98d36e86..ef9e633a 100644 --- a/tests/lib/cff_1_3_0/identifiers/relation/test_zenodo_related_identifiers.py +++ b/tests/lib/cff_1_3_0/identifiers/relation/test_zenodo_related_identifiers.py @@ -1,9 +1,11 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject +@lru_cache def get_cffstr(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_apalike_object.py index a362a88f..f07220aa 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_bibtex_object.py index d6390611..45f0d1fa 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_codemeta_object.py index 5e482aa2..c9e159b1 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_endnote_object.py index 782892e8..e87cd51b 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_ris_object.py index f9bc120f..ac996a3a 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_schemaorg_object.py index f0a758f6..152935f4 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_zenodo_object.py index 27d7e747..18887ce7 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_apalike_object.py index 4668a33e..1e385754 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_bibtex_object.py index eaa02a40..410df69b 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_codemeta_object.py index 5667a4cc..5890f6d8 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_endnote_object.py index 12dde765..b89701d6 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_ris_object.py index 738310e1..3db439fe 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_schemaorg_object.py index 2976580a..6a0dd57e 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_zenodo_object.py index f1e2aca9..caa68ff9 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_dois/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_apalike_object.py index b0bbfe29..dafe0015 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_bibtex_object.py index f885d937..a39f8fba 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_codemeta_object.py index 63146a88..060ad3f5 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_endnote_object.py index 201f3785..4a4b6291 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_ris_object.py index 6bcc962d..b04c5951 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_schemaorg_object.py index dcb5b892..4d2e1fbf 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_zenodo_object.py index 3edbeec6..e8f9b9b8 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/DI_duplicate_urls/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_apalike_object.py index bbc208a9..545e6fce 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_bibtex_object.py index 4440181f..e2685a92 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_codemeta_object.py index 9eea731e..d0c842a9 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_endnote_object.py index 6bc9269c..b474690a 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_ris_object.py index 195b74e5..faa405b0 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_schemaorg_object.py index 9138c93e..986661b3 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_zenodo_object.py index f82830fc..803e7b0f 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/D_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/D_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_apalike_object.py index a362a88f..f07220aa 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_bibtex_object.py index d6390611..45f0d1fa 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_codemeta_object.py index 5e482aa2..c9e159b1 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_endnote_object.py index 782892e8..e87cd51b 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_ris_object.py index f9bc120f..ac996a3a 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_schemaorg_object.py index f0a758f6..152935f4 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_zenodo_object.py index dc9e64c0..4d02b0c5 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/_I/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/_I/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_apalike_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_apalike_object.py index 14f68c20..4f58a9cc 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_bibtex_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_bibtex_object.py index def83831..15fd8123 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_codemeta_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_codemeta_object.py index b339a18d..1ac74114 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_endnote_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_endnote_object.py index 5049bb13..13c66d07 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_ris_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_ris_object.py index 83bd1c36..d09cf424 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_ris_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_schemaorg_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_schemaorg_object.py index 8e293386..7654e3b2 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/identifiers/sources/__/test_zenodo_object.py b/tests/lib/cff_1_3_0/identifiers/sources/__/test_zenodo_object.py index 84083823..93b733d0 100644 --- a/tests/lib/cff_1_3_0/identifiers/sources/__/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/identifiers/sources/__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/dataset/test_schemaorg_object.py b/tests/lib/cff_1_3_0/types/dataset/test_schemaorg_object.py index c377d1ad..fce5e6a0 100644 --- a/tests/lib/cff_1_3_0/types/dataset/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/types/dataset/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/dataset/test_zenodo_object.py b/tests/lib/cff_1_3_0/types/dataset/test_zenodo_object.py index 433efdf1..ec5c3a3d 100644 --- a/tests/lib/cff_1_3_0/types/dataset/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/types/dataset/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/none/test_schemaorg_object.py b/tests/lib/cff_1_3_0/types/none/test_schemaorg_object.py index 2b17f11f..78967ee7 100644 --- a/tests/lib/cff_1_3_0/types/none/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/types/none/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/none/test_zenodo_object.py b/tests/lib/cff_1_3_0/types/none/test_zenodo_object.py index 347914fa..bc6acf69 100644 --- a/tests/lib/cff_1_3_0/types/none/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/types/none/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/software/test_schemaorg_object.py b/tests/lib/cff_1_3_0/types/software/test_schemaorg_object.py index 2b17f11f..78967ee7 100644 --- a/tests/lib/cff_1_3_0/types/software/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/types/software/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/types/software/test_zenodo_object.py b/tests/lib/cff_1_3_0/types/software/test_zenodo_object.py index 347914fa..bc6acf69 100644 --- a/tests/lib/cff_1_3_0/types/software/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/types/software/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRACU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IRACU/test_zenodo_object.py index 3abe6f40..44d90bed 100644 --- a/tests/lib/cff_1_3_0/urls/IRACU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IRACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRAC_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IRAC_/test_zenodo_object.py index b49ddc7a..0e92926d 100644 --- a/tests/lib/cff_1_3_0/urls/IRAC_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IRAC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_codemeta_object.py index 847d98cd..9e3c6883 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_schemaorg_object.py index 3c39035c..3c257536 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA_U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IRA_U/test_zenodo_object.py index 47841922..2116e6e2 100644 --- a/tests/lib/cff_1_3_0/urls/IRA_U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_codemeta_object.py index 847d98cd..9e3c6883 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_schemaorg_object.py index 3c39035c..3c257536 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IRA__/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IRA__/test_zenodo_object.py index ac4a0571..7c0f5c4c 100644 --- a/tests/lib/cff_1_3_0/urls/IRA__/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IRA__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_CU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IR_CU/test_zenodo_object.py index 090bff7f..6753d308 100644 --- a/tests/lib/cff_1_3_0/urls/IR_CU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR_C_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IR_C_/test_zenodo_object.py index c945ddcf..0d7b986b 100644 --- a/tests/lib/cff_1_3_0/urls/IR_C_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IR_C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_codemeta_object.py index 847d98cd..9e3c6883 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_schemaorg_object.py index 3c39035c..3c257536 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR__U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IR__U/test_zenodo_object.py index 5bd307dd..7751e2ba 100644 --- a/tests/lib/cff_1_3_0/urls/IR__U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IR__U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_codemeta_object.py index 847d98cd..9e3c6883 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_ris_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_schemaorg_object.py index 3c39035c..3c257536 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/IR___/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/IR___/test_zenodo_object.py index a7d60ef5..9e8bbeee 100644 --- a/tests/lib/cff_1_3_0/urls/IR___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/IR___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_ACU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I_ACU/test_zenodo_object.py index 81a71747..b86d9d7e 100644 --- a/tests/lib/cff_1_3_0/urls/I_ACU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I_ACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_AC_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I_AC_/test_zenodo_object.py index 3e37e4b8..a99b7b75 100644 --- a/tests/lib/cff_1_3_0/urls/I_AC_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I_AC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_codemeta_object.py index 733d0b67..33b94f77 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_schemaorg_object.py index 906992f3..05ed717d 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A_U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I_A_U/test_zenodo_object.py index 55073359..7bbded7a 100644 --- a/tests/lib/cff_1_3_0/urls/I_A_U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_codemeta_object.py index 733d0b67..33b94f77 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_schemaorg_object.py index 906992f3..05ed717d 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I_A__/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I_A__/test_zenodo_object.py index f273ad39..094147cd 100644 --- a/tests/lib/cff_1_3_0/urls/I_A__/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I_A__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__CU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I__CU/test_zenodo_object.py index 00951a18..521b8311 100644 --- a/tests/lib/cff_1_3_0/urls/I__CU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I__CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_codemeta_object.py index eb31a21a..62fa2ee5 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_schemaorg_object.py index c3857eaf..a567e917 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I__C_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I__C_/test_zenodo_object.py index 78fb2c5a..55cfeb8e 100644 --- a/tests/lib/cff_1_3_0/urls/I__C_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I__C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_codemeta_object.py index 733d0b67..33b94f77 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_schemaorg_object.py index 906992f3..05ed717d 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I___U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I___U/test_zenodo_object.py index 77199f83..d2966c53 100644 --- a/tests/lib/cff_1_3_0/urls/I___U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I___U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/I____/test_apalike_object.py index e39434d9..45c3cce9 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/I____/test_bibtex_object.py index 88d5d966..fb4020fb 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/I____/test_codemeta_object.py index 733d0b67..33b94f77 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/I____/test_endnote_object.py index 4ff93448..65c7d695 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_ris_object.py b/tests/lib/cff_1_3_0/urls/I____/test_ris_object.py index e9ee6df1..714e1457 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/I____/test_schemaorg_object.py index 906992f3..05ed717d 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/I____/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/I____/test_zenodo_object.py index 54094423..525290a1 100644 --- a/tests/lib/cff_1_3_0/urls/I____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/I____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_codemeta_object.py index e5e43b27..c838e12b 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_schemaorg_object.py index b278fd68..605a0734 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RACU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_RACU/test_zenodo_object.py index f476c80d..1926c270 100644 --- a/tests/lib/cff_1_3_0/urls/_RACU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_RACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_apalike_object.py index bc40e232..f01ae5c9 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_bibtex_object.py index 55d296cd..ad9c196f 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_codemeta_object.py index 7d93e764..414e8636 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_endnote_object.py index daa95866..38cdcb0f 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_ris_object.py index 9627e73d..0ae17d76 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_schemaorg_object.py index 0ea49d14..90da44d9 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RAC_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_RAC_/test_zenodo_object.py index ffab58d9..a13d00cf 100644 --- a/tests/lib/cff_1_3_0/urls/_RAC_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_RAC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_codemeta_object.py index df12b397..6842fdde 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_schemaorg_object.py index c063f4df..e6742930 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA_U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_RA_U/test_zenodo_object.py index 3b8455e0..1f33981f 100644 --- a/tests/lib/cff_1_3_0/urls/_RA_U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_apalike_object.py index 9592236f..6fb02b8b 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_bibtex_object.py index bc1181e7..2e2ef5ce 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_codemeta_object.py index 3f40ac0e..d35aac4f 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_endnote_object.py index 56ae04e3..2cdd6351 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_ris_object.py index 99c2da2e..b3e39c58 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_schemaorg_object.py index a44ff0e0..594cdfb6 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_RA__/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_RA__/test_zenodo_object.py index 77efc582..b621e4ee 100644 --- a/tests/lib/cff_1_3_0/urls/_RA__/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_RA__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_codemeta_object.py index e5e43b27..c838e12b 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_schemaorg_object.py index b278fd68..605a0734 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_CU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_R_CU/test_zenodo_object.py index 25e8c6e7..618c9b7c 100644 --- a/tests/lib/cff_1_3_0/urls/_R_CU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_apalike_object.py index bc40e232..f01ae5c9 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_bibtex_object.py index 55d296cd..ad9c196f 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_codemeta_object.py index 7d93e764..414e8636 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_endnote_object.py index daa95866..38cdcb0f 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_ris_object.py index 9627e73d..0ae17d76 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_schemaorg_object.py index 0ea49d14..90da44d9 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R_C_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_R_C_/test_zenodo_object.py index 0c6fb121..4f58aa84 100644 --- a/tests/lib/cff_1_3_0/urls/_R_C_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_R_C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_codemeta_object.py index df12b397..6842fdde 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_schemaorg_object.py index c063f4df..e6742930 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R__U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_R__U/test_zenodo_object.py index 4c47da86..bf1914f4 100644 --- a/tests/lib/cff_1_3_0/urls/_R__U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_R__U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_apalike_object.py index 9592236f..6fb02b8b 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_bibtex_object.py index bc1181e7..2e2ef5ce 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_codemeta_object.py index ffea79a0..655d5fff 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_endnote_object.py index 56ae04e3..2cdd6351 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_ris_object.py index 99c2da2e..b3e39c58 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_schemaorg_object.py index 0d5327e0..d5b054f8 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_R___/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_R___/test_zenodo_object.py index 6642f5a4..8f7155b2 100644 --- a/tests/lib/cff_1_3_0/urls/_R___/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_R___/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_codemeta_object.py index e5e43b27..c838e12b 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_schemaorg_object.py index b278fd68..605a0734 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__ACU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/__ACU/test_zenodo_object.py index cb412449..7be437cc 100644 --- a/tests/lib/cff_1_3_0/urls/__ACU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/__ACU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_apalike_object.py index bc40e232..f01ae5c9 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_bibtex_object.py index 55d296cd..ad9c196f 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_codemeta_object.py index c5030452..2a55104a 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_endnote_object.py index daa95866..38cdcb0f 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_ris_object.py index 9627e73d..0ae17d76 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_schemaorg_object.py index fc518c2f..32562757 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__AC_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/__AC_/test_zenodo_object.py index 082d4c72..adc356a1 100644 --- a/tests/lib/cff_1_3_0/urls/__AC_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/__AC_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_codemeta_object.py index 89472229..57f792f4 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_schemaorg_object.py index bf5d5db9..27751c3b 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A_U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/__A_U/test_zenodo_object.py index ebbe51e0..db17cf40 100644 --- a/tests/lib/cff_1_3_0/urls/__A_U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/__A_U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_apalike_object.py index d061f132..a624a9fa 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_bibtex_object.py index a05ccca1..f217771f 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_codemeta_object.py index b00bcf2a..992fb1e4 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_endnote_object.py index c5f494d6..7bd5d528 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_ris_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_ris_object.py index 5959b450..4891c4ac 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_schemaorg_object.py index 849f94b2..84f556c2 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/__A__/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/__A__/test_zenodo_object.py index 60e7659f..579e101a 100644 --- a/tests/lib/cff_1_3_0/urls/__A__/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/__A__/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_codemeta_object.py index e5e43b27..c838e12b 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_ris_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_schemaorg_object.py index b278fd68..605a0734 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___CU/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/___CU/test_zenodo_object.py index 2f5d0208..9012b63d 100644 --- a/tests/lib/cff_1_3_0/urls/___CU/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/___CU/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_apalike_object.py index bc40e232..f01ae5c9 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_bibtex_object.py index 55d296cd..ad9c196f 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_codemeta_object.py index 1435a885..80ce346a 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_endnote_object.py index daa95866..38cdcb0f 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_ris_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_ris_object.py index 9627e73d..0ae17d76 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_schemaorg_object.py index 24b7deff..86d627a8 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/___C_/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/___C_/test_zenodo_object.py index 77e07817..bd599c43 100644 --- a/tests/lib/cff_1_3_0/urls/___C_/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/___C_/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/____U/test_apalike_object.py index 86382f6e..b02775d6 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/____U/test_bibtex_object.py index 6ef571ff..14fd511a 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/____U/test_codemeta_object.py index 89472229..57f792f4 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/____U/test_endnote_object.py index 9c88d462..f1a5326a 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_ris_object.py b/tests/lib/cff_1_3_0/urls/____U/test_ris_object.py index 465a0532..0af2ca3d 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/____U/test_schemaorg_object.py index bf5d5db9..27751c3b 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/____U/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/____U/test_zenodo_object.py index 63875375..484b4d2e 100644 --- a/tests/lib/cff_1_3_0/urls/____U/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/____U/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_apalike_object.py b/tests/lib/cff_1_3_0/urls/_____/test_apalike_object.py index 45c987e8..2f847923 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_apalike_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_apalike_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject from tests.lib.contracts.apalike import Contract +@lru_cache def apalike_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_bibtex_object.py b/tests/lib/cff_1_3_0/urls/_____/test_bibtex_object.py index 3e274105..83463580 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_bibtex_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_bibtex_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject from tests.lib.contracts.bibtex import Contract +@lru_cache def bibtex_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_codemeta_object.py b/tests/lib/cff_1_3_0/urls/_____/test_codemeta_object.py index e7d4d55a..53d8a366 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_codemeta_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_codemeta_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject from tests.lib.contracts.codemeta import Contract +@lru_cache def codemeta_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_endnote_object.py b/tests/lib/cff_1_3_0/urls/_____/test_endnote_object.py index 232deb43..ecb6801b 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_endnote_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_endnote_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject from tests.lib.contracts.endnote import Contract +@lru_cache def endnote_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_ris_object.py b/tests/lib/cff_1_3_0/urls/_____/test_ris_object.py index 83bd1c36..d09cf424 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_ris_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_ris_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject from tests.lib.contracts.ris import Contract +@lru_cache def ris_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_schemaorg_object.py b/tests/lib/cff_1_3_0/urls/_____/test_schemaorg_object.py index df635231..987580a3 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_schemaorg_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_schemaorg_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject from tests.lib.contracts.schemaorg import Contract +@lru_cache def schemaorg_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: diff --git a/tests/lib/cff_1_3_0/urls/_____/test_zenodo_object.py b/tests/lib/cff_1_3_0/urls/_____/test_zenodo_object.py index ea05091e..61127868 100644 --- a/tests/lib/cff_1_3_0/urls/_____/test_zenodo_object.py +++ b/tests/lib/cff_1_3_0/urls/_____/test_zenodo_object.py @@ -1,10 +1,12 @@ import os +from functools import lru_cache import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject from tests.lib.contracts.zenodo import Contract +@lru_cache def zenodo_object(): fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") with open(fixture, "rt", encoding="utf-8") as f: