Skip to content

Commit

Permalink
Rearrange test modules
Browse files Browse the repository at this point in the history
We have a lot of them! Order things a bit so they are easier to navigate
  • Loading branch information
amercader committed Aug 26, 2024
1 parent edfad24 commit 745fe9e
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 6 deletions.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from ckanext.dcat.profiles import RDFProfile, CleanedURIRef

from ckanext.dcat.tests.test_base_parser import _default_graph
from ckanext.dcat.tests.profiles.base.test_base_parser import _default_graph


DCT = Namespace("http://purl.org/dc/terms/")
Expand Down
File renamed without changes.
Empty file.
Empty file.
File renamed without changes.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from ckanext.dcat.processors import RDFSerializer
from ckanext.dcat.profiles import SCHEMA

from ckanext.dcat.tests.test_euro_dcatap_profile_serialize import BaseSerializeTest
from ckanext.dcat.tests.profiles.dcat_ap.test_euro_dcatap_profile_serialize import BaseSerializeTest


class TestSchemaOrgProfileSerializeDataset(BaseSerializeTest):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def _get_shacl_file_path(file_name):
return os.path.join(os.path.dirname(__file__), "shacl", file_name)
return os.path.join(os.path.dirname(__file__), file_name)


generated_graphs = {}
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
structured_data=ckanext.dcat.plugins:StructuredDataPlugin
# Test plugins
test_rdf_harvester=ckanext.dcat.tests.test_harvester:TestRDFHarvester
test_rdf_null_harvester=ckanext.dcat.tests.test_harvester:TestRDFNullHarvester
test_rdf_exception_harvester=ckanext.dcat.tests.test_harvester:TestRDFExceptionHarvester
test_rdf_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFHarvester
test_rdf_null_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFNullHarvester
test_rdf_exception_harvester=ckanext.dcat.tests.harvester.test_harvester:TestRDFExceptionHarvester
[ckan.rdf.profiles]
euro_dcat_ap=ckanext.dcat.profiles:EuropeanDCATAPProfile
Expand Down

0 comments on commit 745fe9e

Please sign in to comment.