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 8fbfff7b..e16d5b68 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 5c391675..1594bd35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 604e6ed8..a0aecbf6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 1b4cb763..bba85132 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 91321722..92868178 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 bf6f70b3..b2e8f496 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 f4a0dfa2..85873dbe 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 13a3bcbe..011102b8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 31551ad7..050579e4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 51f0112a..8e3db43b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 8918746e..a744aba4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 7b4ed306..757e97ad 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 8f5f50f8..5eab4b5c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ec0b9853..7d119599 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 36025ff2..eddaffd1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 074755bc..e66bd9f9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 060eb756..1756523a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 0c9cc014..66053abe 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 86696f65..efe741dc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 ae384e94..ab46c906 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 0123e968..5557f470 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 614ddab5..07d935a6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 3d76be6a..5eb1c08a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d8924656..932d660b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 8eca0b9e..f93e71ac 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 ac1210d8..cf6e80c6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3ad06ce0..7f82ac63 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 abdb7330..9ce47749 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 ede60ebd..b2b7af53 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 3589702d..f38cf1be 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 9e8f85f4..6bbf01e0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 a514c36f..3ef42926 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 23f7319b..8ea659de 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2e2f7930..6141b843 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 f2cf9cdc..d7ea2a99 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_0_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2b31fbe7..284abf3d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4b924485..09666ba5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 5ad211e9..4a3ffe8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 bdca1102..41acdde2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d06640fb..e5845936 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 478e742d..384d725c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 4bfa1a9e..a5d1e4bc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2b31fbe7..284abf3d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4b924485..09666ba5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d487ba90..c904a09e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 bdca1102..41acdde2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d06640fb..e5845936 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 c30cdbcb..223884e9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 4bfa1a9e..a5d1e4bc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2b31fbe7..284abf3d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4b924485..09666ba5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d487ba90..c904a09e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 bdca1102..41acdde2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d06640fb..e5845936 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 c30cdbcb..223884e9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 456dce36..b7e79bdd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2b31fbe7..284abf3d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4b924485..09666ba5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d487ba90..c904a09e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 bdca1102..41acdde2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d06640fb..e5845936 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 c30cdbcb..223884e9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 456dce36..b7e79bdd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 d7611c80..d7586eb6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 a4fce7dc..e480eec5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 0ed11173..88b0121d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d31970a3..3ee8a131 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 93577949..92887cc7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 5b87320d..a2753359 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 0a173b59..d30a7996 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2b31fbe7..284abf3d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4b924485..09666ba5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 f9476707..5a56f01b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 bdca1102..41acdde2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d06640fb..e5845936 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 95c8d4aa..790869fb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 456dce36..b7e79bdd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 d7611c80..d7586eb6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 abe16fce..775eb78c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d3e363e9..6414be91 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d31970a3..3ee8a131 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 93577949..92887cc7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 04ee297e..ef141d58 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c1f114b6..573591fc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 590f6b0d..4de2e137 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 e0ebe2b8..73cf4756 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 1663d6e4..2cadbd92 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 8666014f..5431abee 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 a4a6a122..afb95258 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 ada91456..0d14a6d2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5432bc18..d5060cd4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_1_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AOE/codemeta.json b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/codemeta.json new file mode 100644 index 00000000..07c93942 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/codemeta.json @@ -0,0 +1,19 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "email": "my@email.notexist", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + } + ], + "name": "the title" +} 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 c89bfbf6..df6dbccd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 c1eb6fa9..5db86bc6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..588cac43 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AOE/test_codemeta_object.py @@ -0,0 +1,72 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "email": "my@email.notexist", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + }] + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_version(self): + assert codemeta_object().add_version().version is None + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta 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 df47004d..b3f618c3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6db9deb9..0fb66308 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 358f5be9..a661e03d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 cd047f27..c4875e2b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/GFA_AO_/codemeta.json b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/codemeta.json new file mode 100644 index 00000000..1c9daa7d --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/codemeta.json @@ -0,0 +1,18 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + } + ], + "name": "the title" +} 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 c89bfbf6..df6dbccd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 c1eb6fa9..5db86bc6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..9ceeb914 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA_AO_/test_codemeta_object.py @@ -0,0 +1,74 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + }] + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_version(self): + assert codemeta_object().add_version().version is None + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta 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 df47004d..b3f618c3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6db9deb9..0fb66308 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 bf444da7..d1bf93f9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 cd047f27..c4875e2b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/GFA____/codemeta.json b/tests/lib/cff_1_2_0/authors/one/GFA____/codemeta.json new file mode 100644 index 00000000..e5c190dd --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/codemeta.json @@ -0,0 +1,13 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 634ba197..4e877b62 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 18335af2..893f30db 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..d499cc81 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GFA____/test_codemeta_object.py @@ -0,0 +1,69 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 dc48d6b8..3c6cf2c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 99eb42ad..88dae062 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6ad3730e..4e2fb2ec 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7f2b52f5..836ac207 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/GF_____/codemeta.json b/tests/lib/cff_1_2_0/authors/one/GF_____/codemeta.json new file mode 100644 index 00000000..c8eca821 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 634ba197..4e877b62 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 18335af2..893f30db 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..ad05cbe3 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/GF_____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 dc48d6b8..3c6cf2c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 99eb42ad..88dae062 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 97102eb3..b0d5bf69 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7f2b52f5..836ac207 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/G_A____/codemeta.json b/tests/lib/cff_1_2_0/authors/one/G_A____/codemeta.json new file mode 100644 index 00000000..673fd091 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 d7af8aa4..23dca67c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 a6b93479..e91f6f0e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..723334b8 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/G_A____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 3abd654c..25272004 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 3a727a46..66a73710 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 75fb669a..b85536ca 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 459d8a59..5d9f07c9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/G______/codemeta.json b/tests/lib/cff_1_2_0/authors/one/G______/codemeta.json new file mode 100644 index 00000000..b9a70bfe --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/G______/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 d7af8aa4..23dca67c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 a6b93479..e91f6f0e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..a1d46e77 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/G______/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 3abd654c..25272004 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 3a727a46..66a73710 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 4eef32bb..39cdeb00 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 459d8a59..5d9f07c9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/_FA____/codemeta.json b/tests/lib/cff_1_2_0/authors/one/_FA____/codemeta.json new file mode 100644 index 00000000..be67466f --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III" + } + ], + "name": "the title" +} 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 64bbb964..1118df21 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 5d155264..0d409064 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..8a29161a --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/_FA____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 732a923b..3c577f3c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 ddd2623e..2b844f2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 d8fa7ead..0dde6276 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 776b7c71..e44a5ed5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/_F_____/codemeta.json b/tests/lib/cff_1_2_0/authors/one/_F_____/codemeta.json new file mode 100644 index 00000000..90902f17 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III" + } + ], + "name": "the title" +} 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 64bbb964..1118df21 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 5d155264..0d409064 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..dc720242 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/_F_____/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 732a923b..3c577f3c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 ddd2623e..2b844f2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 5f2a2d80..8c90b230 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 776b7c71..e44a5ed5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/__AN___/codemeta.json b/tests/lib/cff_1_2_0/authors/one/__AN___/codemeta.json new file mode 100644 index 00000000..53eff091 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Organization", + "alternateName": "Rafa", + "name": "The soccer team members" + } + ], + "name": "the title" +} 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 786189c6..6cae61fb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 c28af2e5..01d36b2e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..0ef4b52f --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/__AN___/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Organization", + "alternateName": "Rafa", + "name": "The soccer team members" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 39b15803..4e6cf94d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 866cc5f4..90e651bf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 9bda196d..a404fe22 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 6da54b45..fdab1da7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/one/___N___/codemeta.json b/tests/lib/cff_1_2_0/authors/one/___N___/codemeta.json new file mode 100644 index 00000000..76125906 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/___N___/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Organization", + "name": "The soccer team members" + } + ], + "name": "the title" +} 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 786189c6..6cae61fb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 c28af2e5..01d36b2e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..e83b6c20 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/one/___N___/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Organization", + "name": "The soccer team members" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 39b15803..4e6cf94d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 866cc5f4..90e651bf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 e88559f2..180f50a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 96287b75..25350ac4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_2_0/authors/two/GF_____/codemeta.json b/tests/lib/cff_1_2_0/authors/two/GF_____/codemeta.json new file mode 100644 index 00000000..abfc26d7 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/codemeta.json @@ -0,0 +1,17 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }, + { + "@type": "Person", + "familyName": "dos Santos Aveiro", + "givenName": "Cristiano Ronaldo" + } + ], + "name": "the title" +} 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 a15f4034..d9719613 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 c004dbde..b7b4e2b9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..06543aa4 --- /dev/null +++ b/tests/lib/cff_1_2_0/authors/two/GF_____/test_codemeta_object.py @@ -0,0 +1,72 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }, { + "@type": "Person", + "familyName": "dos Santos Aveiro", + "givenName": "Cristiano Ronaldo" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 7063e680..e64513f2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 378ef880..29dd9682 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 fdaf9476..3446d551 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 458ffc78..1f7ad695 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 584191b1..c5ff8014 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 294b1310..ab7a9a5a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 b95bb835..05ef417d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 9fbd0cc7..7f716436 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 73f8a154..2bab3521 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b08c8038..f50b04f5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 241aa3a3..03c4acf4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 a758907d..877f4e0c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 fe242bef..010940bf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 1da31bcb..807cac55 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 afd6e6c6..17ded7c0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 0fa2730d..9dfdc531 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 7196fae6..9c4f9afa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 853eb16a..516c33d4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 638a64a6..3efc046c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12e849e1..44b0079d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 a216a8bb..930cf0ae 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 2e5036b3..964c9eb2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 53ff9ad7..ec8f25c2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 be540ad0..301a6f94 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 30b4e837..49e20562 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 584191b1..c5ff8014 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 294b1310..ab7a9a5a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 b95bb835..05ef417d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 9fbd0cc7..7f716436 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 73f8a154..2bab3521 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b08c8038..f50b04f5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 118e9750..d2d76b1f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 6d68f185..fd0264c9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 3cc65bc3..2b980a42 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 6e931526..4aaa9cd5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5f996557..8c17cfb6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 1d56f981..981b06f3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 f4b53615..4d649453 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 425aade4..c9deff39 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 bd3344ff..8c6ab859 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7f39eefe..ea140c7c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 02c6cbb4..a69f9c5d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 35193aed..a4ca41fc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 02c6cbb4..a69f9c5d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 35193aed..a4ca41fc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 832c0bc4..ee8ffa0a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 2ac21559..6b28cc0d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3f6aeea4..986dabff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 999c2579..beb56ac7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 40440283..fa94fe3e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3f6aeea4..986dabff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 999c2579..beb56ac7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a04750b3..cd9122f1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 63113181..463a326a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 41be2a9e..89814257 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3f6aeea4..986dabff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 999c2579..beb56ac7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 9f321d59..73760aa8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3f6aeea4..986dabff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 999c2579..beb56ac7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 31797ac0..45ba4ddb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5f7ed017..f7839571 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 e4595581..31f29c37 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 301f60e6..fae3b8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b62372cf..dffe9dda 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c7677bf9..f1899199 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 301f60e6..fae3b8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b62372cf..dffe9dda 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7a75e96c..c835d8ad 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ba36f364..8d7915ac 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8dee232b..b7035b65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 986249ba..8488a8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 1224c6f7..67063180 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 301f60e6..fae3b8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b62372cf..dffe9dda 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 df7ba7e2..f72f1720 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 dc554374..ce1133aa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d4ede2df..da2d3805 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 301f60e6..fae3b8a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 ad2705f5..77765f2c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 859d3bb3..734d3735 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 b62372cf..dffe9dda 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 392e7fd5..f9c6727b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 4219ab8f..43f0a3c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 67c102bf..6ef36e56 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5f730e85..55a26b42 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 984111be..69e95a7a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4271c14d..da69d912 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 c788e794..7916c0d4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 aed852a7..862789c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 2b32279a..4976f3a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6ebefe53..34805bcf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ff1f7f9b..e589b19a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 03bc4f45..4be8f140 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3066933f..d2812cf8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 da993c6d..32771828 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 42baf447..5cc66415 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 0b7999d3..45f0c34b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 08cae08a..8e9292f2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 2b7f1fa0..9c8e53ff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9c89c585..dcf2225b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 21db2cb9..75f5e938 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c100e45c..0f3111e0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 4219ab8f..43f0a3c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 67c102bf..6ef36e56 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a119a558..87af0a38 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 984111be..69e95a7a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4271c14d..da69d912 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 c788e794..7916c0d4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 aed852a7..862789c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 2b32279a..4976f3a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6ebefe53..34805bcf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a110b34a..9295a426 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 03bc4f45..4be8f140 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3066933f..d2812cf8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 52fac750..ef3dfb36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 42baf447..5cc66415 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 0b7999d3..45f0c34b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d2047313..ee384590 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 2b7f1fa0..9c8e53ff 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9c89c585..dcf2225b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 57be5c9b..bf1a3a17 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 9a03eb26..771d0779 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 4219ab8f..43f0a3c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 67c102bf..6ef36e56 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 21582449..e40fe181 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 984111be..69e95a7a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4271c14d..da69d912 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 110a813a..774d9516 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 aed852a7..862789c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 2b32279a..4976f3a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2e33f313..2f5562d0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 d9f1fe38..569826b5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3ce8e001..561ab7af 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 5774508d..d38341f3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5ac19f84..f44c56a4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 55e04d8b..4b70c526 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 1be222d7..613067b3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 5df6ca32..597124a8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 564c190b..c8964bd3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 4931bde1..bd692893 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3542def3..009715f0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 b1e5ee6d..5d44ffa4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 4219ab8f..43f0a3c8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 67c102bf..6ef36e56 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 f56b0883..b6eac64d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 984111be..69e95a7a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4271c14d..da69d912 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 24a9f1f7..3878b0ec 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 aed852a7..862789c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 2b32279a..4976f3a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 89843a89..cf83e237 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 914b0134..24fadc8f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f930187d..f73ba86d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 225ef180..b18a65d5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 3ce8e001..561ab7af 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 b8cbfcf1..acb53f8c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6deba865..75755ad3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 5774508d..d38341f3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 39fce5c2..fd8cee58 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 ae77233a..e79b07a9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 29167827..9e711e23 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 20c466c9..60a0236d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 661d52f4..e56cfbfe 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 1d56f981..981b06f3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 d36dee74..e6c1d0fd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 8457598e..539aa4b8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_2_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AOE/codemeta.json b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/codemeta.json new file mode 100644 index 00000000..07c93942 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/codemeta.json @@ -0,0 +1,19 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "email": "my@email.notexist", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + } + ], + "name": "the title" +} 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 825c3c8f..ab51afc4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 3c88bbce..8486932f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..4e7ec7f0 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AOE/test_codemeta_object.py @@ -0,0 +1,72 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "email": "my@email.notexist", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + }] + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_version(self): + assert codemeta_object().add_version().version is None + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta 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 752fab68..8f85b87b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 129b6cdc..ff837300 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6a12ba78..474f1abb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 08aa83b3..feb4549a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/GFA_AO_/codemeta.json b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/codemeta.json new file mode 100644 index 00000000..1c9daa7d --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/codemeta.json @@ -0,0 +1,18 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + } + ], + "name": "the title" +} 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 825c3c8f..ab51afc4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 3c88bbce..8486932f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..b7556739 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA_AO_/test_codemeta_object.py @@ -0,0 +1,74 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@id": "https://orcid.org/0000-0002-7064-4069", + "@type": "Person", + "affiliation": { + "@type": "Organization", + "name": "Netherlands eScience Center" + }, + "alternateName": "jspaaks", + "familyName": "von der Spaaks Jr.", + "givenName": "Jurriaan H." + }] + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_version(self): + assert codemeta_object().add_version().version is None + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta 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 752fab68..8f85b87b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 129b6cdc..ff837300 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 87c8f2df..f66062e0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 08aa83b3..feb4549a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/GFA____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/GFA____/codemeta.json new file mode 100644 index 00000000..e5c190dd --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/codemeta.json @@ -0,0 +1,13 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 2cd7f7af..f1387c25 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 60f72694..5edcf0fa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..b2548055 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GFA____/test_codemeta_object.py @@ -0,0 +1,69 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 e98954c2..11dc0e37 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9cc48f7d..38cc968b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2e12e9a0..525a75e7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 b8bbdf1b..08c2f379 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/GF_____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/GF_____/codemeta.json new file mode 100644 index 00000000..c8eca821 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 2cd7f7af..f1387c25 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 60f72694..5edcf0fa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..29046f1b --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/GF_____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 e98954c2..11dc0e37 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9cc48f7d..38cc968b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 bf33a132..56aa4372 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 b8bbdf1b..08c2f379 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/G_A____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/G_A____/codemeta.json new file mode 100644 index 00000000..673fd091 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 84a1ec22..15045b83 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 ba3293d3..6e43a4fa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..f1982ca0 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/G_A____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 71b3adf3..0f4cbd81 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d147b935..149ae6a8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2d5de577..e9cfa93c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a39c7ea8..cd5c594d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/G______/codemeta.json b/tests/lib/cff_1_3_0/authors/one/G______/codemeta.json new file mode 100644 index 00000000..b9a70bfe --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/G______/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "givenName": "Rafael" + } + ], + "name": "the title" +} 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 84a1ec22..15045b83 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 ba3293d3..6e43a4fa 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..56830b20 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/G______/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "givenName": "Rafael" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 71b3adf3..0f4cbd81 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 d147b935..149ae6a8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 51c00e5c..e2d1bc1b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a39c7ea8..cd5c594d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/_FA____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/_FA____/codemeta.json new file mode 100644 index 00000000..be67466f --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III" + } + ], + "name": "the title" +} 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 b2c22537..db5c4441 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 a1522f50..e4e81a12 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..4634e32a --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/_FA____/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa", + "familyName": "van der Vaart III" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 9689b6cc..a9c841f6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 a410b7d3..e3b8176b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 d1b9c5e6..1b45d6b5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 27ab1020..52a6a200 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/_F_____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/_F_____/codemeta.json new file mode 100644 index 00000000..90902f17 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III" + } + ], + "name": "the title" +} 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 b2c22537..db5c4441 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 a1522f50..e4e81a12 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..c5b44f03 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/_F_____/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 9689b6cc..a9c841f6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 a410b7d3..e3b8176b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 ce0f2857..54491d21 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 27ab1020..52a6a200 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/__AN___/codemeta.json b/tests/lib/cff_1_3_0/authors/one/__AN___/codemeta.json new file mode 100644 index 00000000..53eff091 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/codemeta.json @@ -0,0 +1,12 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Organization", + "alternateName": "Rafa", + "name": "The soccer team members" + } + ], + "name": "the title" +} 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 ecd5fea8..8b378acd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 0dc17b55..f4a572b2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..365d4fce --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/__AN___/test_codemeta_object.py @@ -0,0 +1,68 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Organization", + "alternateName": "Rafa", + "name": "The soccer team members" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 6a1e71e0..02718443 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 093550ba..4b7685cf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 4723682a..d54524f7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 90cfce1d..47ff7f86 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/__A____/codemeta.json b/tests/lib/cff_1_3_0/authors/one/__A____/codemeta.json new file mode 100644 index 00000000..cf272002 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/__A____/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "alternateName": "Rafa" + } + ], + "name": "the title" +} 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 a0fbef97..1abe334e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 30ef57ff..7bbe877a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..85f5e1b7 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/__A____/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "alternateName": "Rafa" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 93abaead..025c3130 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 70a10a69..2e6f94f6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 a2d78b29..cdb7c675 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c803c338..f3b3a26a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/one/___N___/codemeta.json b/tests/lib/cff_1_3_0/authors/one/___N___/codemeta.json new file mode 100644 index 00000000..76125906 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/___N___/codemeta.json @@ -0,0 +1,11 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Organization", + "name": "The soccer team members" + } + ], + "name": "the title" +} 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 ecd5fea8..8b378acd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 0dc17b55..f4a572b2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..42b2b550 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/one/___N___/test_codemeta_object.py @@ -0,0 +1,67 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Organization", + "name": "The soccer team members" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 6a1e71e0..02718443 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 093550ba..4b7685cf 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 5ddd3552..23019eb1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7d7583c3..6645e6b1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/cff_1_3_0/authors/two/GF_____/codemeta.json b/tests/lib/cff_1_3_0/authors/two/GF_____/codemeta.json new file mode 100644 index 00000000..abfc26d7 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/codemeta.json @@ -0,0 +1,17 @@ +{ + "@context": "https://doi.org/10.5063/schema/codemeta-2.0", + "@type": "SoftwareSourceCode", + "author": [ + { + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }, + { + "@type": "Person", + "familyName": "dos Santos Aveiro", + "givenName": "Cristiano Ronaldo" + } + ], + "name": "the title" +} 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 b75a167a..c2b74f9b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 094bc400..2dbdb7ce 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 new file mode 100644 index 00000000..33b666b2 --- /dev/null +++ b/tests/lib/cff_1_3_0/authors/two/GF_____/test_codemeta_object.py @@ -0,0 +1,72 @@ +import os +import pytest +from cffconvert import Citation +from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject +from tests.lib.contracts.codemeta import Contract + + +def codemeta_object(): + fixture = os.path.join(os.path.dirname(__file__), "CITATION.cff") + with open(fixture, "rt", encoding="utf-8") as f: + cffstr = f.read() + citation = Citation(cffstr) + return CodemetaObject(citation.cffobj, initialize_empty=True) + + +@pytest.mark.codemeta +class TestCodemetaObject(Contract): + + def test_as_string(self): + actual_codemeta = codemeta_object().add_all().as_string() + fixture = os.path.join(os.path.dirname(__file__), "codemeta.json") + with open(fixture, "rt", encoding="utf-8") as f: + expected_codemeta = f.read() + assert actual_codemeta == expected_codemeta + + def test_author(self): + assert codemeta_object().add_author().author == [{ + "@type": "Person", + "familyName": "van der Vaart III", + "givenName": "Rafael" + }, { + "@type": "Person", + "familyName": "dos Santos Aveiro", + "givenName": "Cristiano Ronaldo" + }] + + def test_check_cffobj(self): + codemeta_object().check_cffobj() + # doesn't need an assert + + def test_code_repository(self): + assert codemeta_object().add_urls().code_repository is None + + def test_contributor(self): + assert codemeta_object().add_contributor().contributor is None + + def test_date_published(self): + assert codemeta_object().add_date_published().date_published is None + + def test_description(self): + assert codemeta_object().add_description().description is None + + def test_identifier(self): + assert codemeta_object().add_identifier().identifier is None + + def test_keywords(self): + assert codemeta_object().add_keywords().keywords is None + + def test_license(self): + assert codemeta_object().add_license().license is None + + def test_name(self): + assert codemeta_object().add_name().name == "the title" + + def test_upload_type(self): + assert codemeta_object().add_type().type == "SoftwareSourceCode" + + def test_url(self): + assert codemeta_object().add_urls().url is None + + def test_version(self): + assert codemeta_object().add_version().version is None 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 deca592b..a2fdf914 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 e8746688..2b9a7809 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 1ed1f8b3..2b83b34e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 05adef75..d508d90d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 a262f6e8..46e9d2dc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 01273fb0..15cb1462 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 23ef56c2..66a8fb39 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 01273fb0..15cb1462 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 a11fd377..907caf41 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 70c0999e..7112db2d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 027fa10b..d33a6b30 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 70c0999e..7112db2d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 bf01153b..0afc92a1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 452d676a..b0b95d1f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 81d0a216..21e66fca 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 452d676a..b0b95d1f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 419a6fd0..66e5136e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c1627381..21d06866 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 8f84bd38..3803d3c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c1627381..21d06866 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 7bc51d9c..f6695a65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7c4c246a..3c2bd6b3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 f6b71ba2..e6c6e317 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a9e64b4f..c02d25c4 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 3d4ec4a4..e2a72775 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 12addd8a..70762a35 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 2f78b23c..61fdc7bb 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 9990eb34..a342d74b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 68046148..054a2f9a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 24029acd..b3b11fe8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5c783a2..b98804f5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 80a805ac..a510b7dc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 61f370d3..14db0b8a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 779b56c9..a0fada54 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 351032a7..47a9f8c5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 cda7e7e7..9abf78b5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 35727f0e..33f28d6a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 067822bb..c247344e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 2a44c013..814918b6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 933d622b..f6e8615d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 9914b29f..8d0261b2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 18123236..f2496e9e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 00af1ad6..5d72b8a5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a9b83ea0..1e12432c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 c2defb80..d482bf17 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 1f116c26..b4efae12 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 cd37d825..1b1a8d27 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d8129dd5..d369b167 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 2cd34f0e..0465bb48 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 29cb3432..e463ef36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 abb0d856..b494461b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 74a82274..c917926b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 e08bfbce..2354b50a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 7fec91a7..416c5362 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 33f61892..f90f03e8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 f213b1dc..5801d47c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 fdfd1633..2afdcb84 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 2b6042df..181e2089 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5c783a2..b98804f5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 80a805ac..a510b7dc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 61f370d3..14db0b8a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 779b56c9..a0fada54 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 351032a7..47a9f8c5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 cda7e7e7..9abf78b5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 b25de03d..19ff7e38 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 ab7a3d7e..96fab725 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4d5a4ec7..82eebb19 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 331a58df..5031327c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 f55cc21c..e63aab65 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 866f8bd0..8206c25a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 cf4a059b..db4ad72d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 25a36177..adec69a3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 ab1a265a..88de4e17 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 096ba896..00684e8d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 8d46f408..037b4ce9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ab0b905e..ea73cd0d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 8d46f408..037b4ce9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ab0b905e..ea73cd0d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 bee8672c..d26f4a40 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 0c640dd3..afa472ec 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d05ac484..38282fa2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3d5cdcee..56de2aa0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 96b96c97..7ce7f84c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d05ac484..38282fa2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3d5cdcee..56de2aa0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 dab6ba05..71060152 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 438eae67..954dca59 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 c398ef81..ed35f9c3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d05ac484..38282fa2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3d5cdcee..56de2aa0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ec32a48b..6036661e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d05ac484..38282fa2 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 3d5cdcee..56de2aa0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 b11dc308..2458645b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 72bbc35d..e5b6896c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5a81577a..e48c3f3a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 11eda74d..db50faa1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2a7de102..cdb0d4d9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 33528eca..b03a9101 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 11eda74d..db50faa1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2a7de102..cdb0d4d9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 5933bf32..46ab52e5 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 7944c110..5a9dce16 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 ea0637f1..a8319f36 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 250f18e9..e2d9b553 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 e56f820b..6faf01ea 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 11eda74d..db50faa1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2a7de102..cdb0d4d9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 0de19181..fb9febe8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 b5da00ce..398be01d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 8e60503a..07a3519a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 11eda74d..db50faa1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 5e147021..69614368 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 c97def8f..ef09286c 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2a7de102..cdb0d4d9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 9d2c086a..db042352 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d274a142..324d940e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 46aaff03..5eede1e3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 f8cecd36..e2e40e77 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 4febae23..5aeed468 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d6542815..af757a2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 a30bf90a..bd8e537d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d6aa1cb0..1a95cc29 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 641f9953..3fbbd55b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 caa77cb7..2641486e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 f5a12087..e3f6b5c1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 1d8c5bb8..165a2ab6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 1c147a64..bdb62c3f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 0c768106..ec70fc26 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 06edab3e..c8c39b4f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 265e2c67..4e9c2172 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 5c3e0c22..f6bc96cc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 c3780cd9..df32d2fd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6e64006c..95e78d7d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 50968512..bc1ec9ce 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ff2ed058..4ad2a54d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d274a142..324d940e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 46aaff03..5eede1e3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 821bbfc2..248381a0 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 4febae23..5aeed468 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d6542815..af757a2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 a30bf90a..bd8e537d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d6aa1cb0..1a95cc29 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 641f9953..3fbbd55b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 caa77cb7..2641486e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 fc8466d3..fec4e672 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 1d8c5bb8..165a2ab6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 1c147a64..bdb62c3f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 e0544cca..16d92301 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 06edab3e..c8c39b4f 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 265e2c67..4e9c2172 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 8d894203..f5530aa7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 c3780cd9..df32d2fd 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 6e64006c..95e78d7d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 8021ac56..1322259e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 92b77fb9..82c68466 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d274a142..324d940e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 46aaff03..5eede1e3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 bcf6ca0e..2e74e269 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 4febae23..5aeed468 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d6542815..af757a2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 810cdb71..d2e293e9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d6aa1cb0..1a95cc29 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 641f9953..3fbbd55b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 72fe3d8f..bf338020 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 21a18c5c..25876cc9 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 7ca9b945..bd6bcff1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6f8e22c4..33337b89 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 955a03e6..0a970ecc 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 04602f13..91f3f038 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 4c12be36..01ea910d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 98b3051a..09c3be07 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 029f1176..6bda1723 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 cdfcf552..47054f87 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 45ea6515..32107c9b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 3c65c8c0..05df8853 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 d274a142..324d940e 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 46aaff03..5eede1e3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 4f35b459..7d0780e8 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 4febae23..5aeed468 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 d6542815..af757a2a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 9b53f296..b750c7e7 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 d6aa1cb0..1a95cc29 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 641f9953..3fbbd55b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 2fc43039..f9e3687a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 ea82f8de..542e2462 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 f9f7bc24..2d6efe4d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 b1691b26..4ec89499 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 7ca9b945..bd6bcff1 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 fb16b31e..e6a25d9d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 669927ca..86daf3d3 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 6f8e22c4..33337b89 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 a00f3eed..6851ae62 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): 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 2a06d1d9..6b2202f6 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.apalike import ApalikeObject -from tests.lib.contracts.apalike_object import Contract +from tests.lib.contracts.apalike import Contract def apalike_object(): 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 bb713faa..556b087d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.bibtex import BibtexObject -from tests.lib.contracts.bibtex_object import Contract +from tests.lib.contracts.bibtex import Contract def bibtex_object(): 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 5490c7dc..1091966d 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.codemeta import CodemetaObject -from tests.lib.contracts.codemeta_object import Contract +from tests.lib.contracts.codemeta import Contract def codemeta_object(): 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 3526fcfc..1856a82b 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.endnote import EndnoteObject -from tests.lib.contracts.endnote_object import Contract +from tests.lib.contracts.endnote import Contract def endnote_object(): 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 866f8bd0..8206c25a 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.ris import RisObject -from tests.lib.contracts.ris_object import Contract +from tests.lib.contracts.ris import Contract def ris_object(): 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 353e3a80..1b409306 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.schemaorg import SchemaorgObject -from tests.lib.contracts.schemaorg_object import Contract +from tests.lib.contracts.schemaorg import Contract def schemaorg_object(): 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 d01ef9fb..a5bd9d50 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 @@ -2,7 +2,7 @@ import pytest from cffconvert import Citation from cffconvert.lib.cff_1_3_x.zenodo import ZenodoObject -from tests.lib.contracts.zenodo_object import Contract +from tests.lib.contracts.zenodo import Contract def zenodo_object(): diff --git a/tests/lib/contracts/apalike_object.py b/tests/lib/contracts/apalike.py similarity index 100% rename from tests/lib/contracts/apalike_object.py rename to tests/lib/contracts/apalike.py diff --git a/tests/lib/contracts/bibtex_object.py b/tests/lib/contracts/bibtex.py similarity index 100% rename from tests/lib/contracts/bibtex_object.py rename to tests/lib/contracts/bibtex.py diff --git a/tests/lib/contracts/codemeta_object.py b/tests/lib/contracts/codemeta.py similarity index 100% rename from tests/lib/contracts/codemeta_object.py rename to tests/lib/contracts/codemeta.py diff --git a/tests/lib/contracts/endnote_object.py b/tests/lib/contracts/endnote.py similarity index 100% rename from tests/lib/contracts/endnote_object.py rename to tests/lib/contracts/endnote.py diff --git a/tests/lib/contracts/ris_object.py b/tests/lib/contracts/ris.py similarity index 100% rename from tests/lib/contracts/ris_object.py rename to tests/lib/contracts/ris.py diff --git a/tests/lib/contracts/schemaorg_object.py b/tests/lib/contracts/schemaorg.py similarity index 100% rename from tests/lib/contracts/schemaorg_object.py rename to tests/lib/contracts/schemaorg.py diff --git a/tests/lib/contracts/zenodo_object.py b/tests/lib/contracts/zenodo.py similarity index 100% rename from tests/lib/contracts/zenodo_object.py rename to tests/lib/contracts/zenodo.py