Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange test modules #295

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file.
Empty file.
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
Empty file.
Empty file.
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