diff --git a/test/test_parser_hext_multigraph.ndjson b/test/consistent_test_data/test_parser_hext_multigraph.ndjson similarity index 100% rename from test/test_parser_hext_multigraph.ndjson rename to test/consistent_test_data/test_parser_hext_multigraph.ndjson diff --git a/test/test_parser_hext_singlegraph.ndjson b/test/consistent_test_data/test_parser_hext_singlegraph.ndjson similarity index 100% rename from test/test_parser_hext_singlegraph.ndjson rename to test/consistent_test_data/test_parser_hext_singlegraph.ndjson diff --git a/test/consistent_test_data/timbl-card.nquads b/test/consistent_test_data/timbl-card.nquads new file mode 100644 index 000000000..90fe2c144 --- /dev/null +++ b/test/consistent_test_data/timbl-card.nquads @@ -0,0 +1,86 @@ + "Design Issues for the World Wide Web" . + . + _:ub1bL214C17 . + . + "Tim Berners-Lee's FOAF file" . + . + . + . + . + . + "timbl's blog on DIG" . + . + . + . + "Identity, Reference and the Web workshop 2006" . + . + "The Next Wave of the Web (Plenary Panel)" . + . + . + "Designing the Web for an Open Society" . + . + . + . + "Tim Berners-Lee's editable profile" . + . + . + . + . + . + . + . + "Tim Berners-Lee" . + . + . + . + _:ub1bL112C13 . + "https://www.w3.org/People/Berners-Lee/card#i" . + . + "Tim Berners-Lee" . + _:ub1bL102C9 . + . + . + . + . + . + . + . + "#ffffff" . + "#00467E" . + . + . + . + . + _:ub1bL131C21 . + "Berners-Lee" . + "Timothy" . + . + . + . + "965c47c5a70db7407210cef6e4e6f5374a525c5c" . + "Timothy Berners-Lee" . + "TimBL" . + "timbl" . + . + "Sir" . + . + . +_:ub1bL102C9 . +_:ub1bL102C9 "Cambridge" . +_:ub1bL102C9 "02139" . +_:ub1bL102C9 "MA" . +_:ub1bL102C9 "32 Vassar Street" . +_:ub1bL112C13 _:ub1bL114C15 . +_:ub1bL112C13 _:ub1bL113C19 . +_:ub1bL113C19 "42.361860" . +_:ub1bL113C19 "-71.091840" . +_:ub1bL114C15 "Cambridge" . +_:ub1bL114C15 "USA" . +_:ub1bL114C15 "02139" . +_:ub1bL114C15 "MIT CSAIL Building 32" . +_:ub1bL114C15 "32 Vassar Street" . +_:ub1bL131C21 "42.361860" . +_:ub1bL131C21 "-71.091840" . +_:ub1bL214C17 . +_:ub1bL214C17 "65537"^^ . +_:ub1bL214C17 "ebe99c737bd3670239600547e5e2eb1d1497da39947b6576c3c44ffeca32cf0f2f7cbee3c47001278a90fc7fc5bcf292f741eb1fcd6bbe7f90650afb519cf13e81b2bffc6e02063ee5a55781d420b1dfaf61c15758480e66d47fb0dcb5fa7b9f7f1052e5ccbd01beee9553c3b6b51f4daf1fce991294cd09a3d1d636bc6c7656e4455d0aff06daec740ed0084aa6866fcae1359de61cc12dbe37c8fa42e977c6e727a8258bb9a3f265b27e3766fe0697f6aa0bcc81c3f026e387bd7bbc81580dc1853af2daa099186a9f59da526474ef6ec0a3d84cf400be3261b6b649dea1f78184862d34d685d2d587f09acc14cd8e578fdd2283387821296f0af39b8d8845"^^ . \ No newline at end of file diff --git a/test/data.py b/test/data.py index 613df944f..db184fb0d 100644 --- a/test/data.py +++ b/test/data.py @@ -1,4 +1,20 @@ +from rdflib import URIRef from pathlib import Path TEST_DIR = Path(__file__).parent CONSISTENT_DATA_DIR = TEST_DIR / "consistent_test_data" + +alice_uri = URIRef("http://example.org/alice") +bob_uri = URIRef("http://example.org/bob") + +michel = URIRef("urn:example:michel") +tarek = URIRef("urn:example:tarek") +bob = URIRef("urn:example:bob") +likes = URIRef("urn:example:likes") +hates = URIRef("urn:example:hates") +pizza = URIRef("urn:example:pizza") +cheese = URIRef("urn:example:cheese") + +context0 = URIRef("urn:example:context-0") +context1 = URIRef("urn:example:context-1") +context2 = URIRef("urn:example:context-2") diff --git a/test/test_conjunctive_graph.py b/test/test_conjunctivegraph/test_conjunctive_graph.py similarity index 100% rename from test/test_conjunctive_graph.py rename to test/test_conjunctivegraph/test_conjunctive_graph.py diff --git a/test/test_conjunctivegraph_generators.py b/test/test_conjunctivegraph/test_conjunctivegraph_generators.py similarity index 97% rename from test/test_conjunctivegraph_generators.py rename to test/test_conjunctivegraph/test_conjunctivegraph_generators.py index 07e88a4f7..7642c2361 100644 --- a/test/test_conjunctivegraph_generators.py +++ b/test/test_conjunctivegraph/test_conjunctivegraph_generators.py @@ -3,7 +3,7 @@ timblcardn3 = open( - os.path.join(os.path.dirname(__file__), "consistent_test_data", "timbl-card.n3") + os.path.join(os.path.dirname(__file__), "..", "consistent_test_data", "timbl-card.n3") ).read() diff --git a/test/test_conjunctivegraph_operator_combinations.py b/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py similarity index 97% rename from test/test_conjunctivegraph_operator_combinations.py rename to test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py index c639ceadb..13d204211 100644 --- a/test/test_conjunctivegraph_operator_combinations.py +++ b/test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py @@ -18,7 +18,7 @@ c2 = URIRef("urn:example:context-2") sportquadstrig = open( - os.path.join(os.path.dirname(__file__), "consistent_test_data", "sportquads.trig") + os.path.join(os.path.dirname(__file__), "..", "consistent_test_data", "sportquads.trig") ).read() diff --git a/test/test_dataset.py b/test/test_dataset/test_dataset.py similarity index 100% rename from test/test_dataset.py rename to test/test_dataset/test_dataset.py diff --git a/test/test_dataset_generators.py b/test/test_dataset/test_dataset_generators.py similarity index 97% rename from test/test_dataset_generators.py rename to test/test_dataset/test_dataset_generators.py index 874e48554..c69513360 100644 --- a/test/test_dataset_generators.py +++ b/test/test_dataset/test_dataset_generators.py @@ -2,7 +2,7 @@ from rdflib import Dataset, URIRef timblcardn3 = open( - os.path.join(os.path.dirname(__file__), "consistent_test_data", "timbl-card.n3") + os.path.join(os.path.dirname(__file__), "..", "consistent_test_data", "timbl-card.n3") ).read() diff --git a/test/test_graph_cbd.py b/test/test_graph/test_graph_cbd.py similarity index 100% rename from test/test_graph_cbd.py rename to test/test_graph/test_graph_cbd.py diff --git a/test/test_graph_context.py b/test/test_graph/test_graph_context.py similarity index 100% rename from test/test_graph_context.py rename to test/test_graph/test_graph_context.py diff --git a/test/test_graph_formula.py b/test/test_graph/test_graph_formula.py similarity index 100% rename from test/test_graph_formula.py rename to test/test_graph/test_graph_formula.py diff --git a/test/test_graph_generators.py b/test/test_graph/test_graph_generators.py similarity index 96% rename from test/test_graph_generators.py rename to test/test_graph/test_graph_generators.py index d013aaec8..958364d39 100644 --- a/test/test_graph_generators.py +++ b/test/test_graph/test_graph_generators.py @@ -10,7 +10,7 @@ cheese = URIRef("urn:example:cheese") timblcardn3 = open( - os.path.join(os.path.dirname(__file__), "consistent_test_data", "timbl-card.n3") + os.path.join(os.path.dirname(__file__), "..", "consistent_test_data", "timbl-card.n3") ).read() diff --git a/test/test_graph_http.py b/test/test_graph/test_graph_http.py similarity index 98% rename from test/test_graph_http.py rename to test/test_graph/test_graph_http.py index 8ffb358f0..f9e1b1701 100644 --- a/test/test_graph_http.py +++ b/test/test_graph/test_graph_http.py @@ -2,7 +2,7 @@ from http.server import BaseHTTPRequestHandler from urllib.error import HTTPError -from .testutils import SimpleHTTPMock, MockHTTPResponse, ctx_http_server, GraphHelper +from test.testutils import SimpleHTTPMock, MockHTTPResponse, ctx_http_server, GraphHelper import unittest diff --git a/test/test_graph_items.py b/test/test_graph/test_graph_items.py similarity index 100% rename from test/test_graph_items.py rename to test/test_graph/test_graph_items.py diff --git a/test/test_graph_operator.py b/test/test_graph/test_graph_operator.py similarity index 100% rename from test/test_graph_operator.py rename to test/test_graph/test_graph_operator.py diff --git a/test/test_issue084.py b/test/test_issues/test_issue084.py similarity index 100% rename from test/test_issue084.py rename to test/test_issues/test_issue084.py diff --git a/test/test_issue1003.py b/test/test_issues/test_issue1003.py similarity index 100% rename from test/test_issue1003.py rename to test/test_issues/test_issue1003.py diff --git a/test/test_issue1043.py b/test/test_issues/test_issue1043.py similarity index 100% rename from test/test_issue1043.py rename to test/test_issues/test_issue1043.py diff --git a/test/test_issue1141.py b/test/test_issues/test_issue1141.py similarity index 100% rename from test/test_issue1141.py rename to test/test_issues/test_issue1141.py diff --git a/test/test_issue1160.py b/test/test_issues/test_issue1160.py similarity index 100% rename from test/test_issue1160.py rename to test/test_issues/test_issue1160.py diff --git a/test/test_issue1404.py b/test/test_issues/test_issue1404.py similarity index 100% rename from test/test_issue1404.py rename to test/test_issues/test_issue1404.py diff --git a/test/test_issue1484.py b/test/test_issues/test_issue1484.py similarity index 100% rename from test/test_issue1484.py rename to test/test_issues/test_issue1484.py diff --git a/test/test_issue160.py b/test/test_issues/test_issue160.py similarity index 100% rename from test/test_issue160.py rename to test/test_issues/test_issue160.py diff --git a/test/test_issue161.py b/test/test_issues/test_issue161.py similarity index 100% rename from test/test_issue161.py rename to test/test_issues/test_issue161.py diff --git a/test/test_issue184.py b/test/test_issues/test_issue184.py similarity index 100% rename from test/test_issue184.py rename to test/test_issues/test_issue184.py diff --git a/test/test_issue190.py b/test/test_issues/test_issue190.py similarity index 100% rename from test/test_issue190.py rename to test/test_issues/test_issue190.py diff --git a/test/test_issue200.py b/test/test_issues/test_issue200.py similarity index 100% rename from test/test_issue200.py rename to test/test_issues/test_issue200.py diff --git a/test/test_issue209.py b/test/test_issues/test_issue209.py similarity index 100% rename from test/test_issue209.py rename to test/test_issues/test_issue209.py diff --git a/test/test_issue223.py b/test/test_issues/test_issue223.py similarity index 100% rename from test/test_issue223.py rename to test/test_issues/test_issue223.py diff --git a/test/test_issue247.py b/test/test_issues/test_issue247.py similarity index 100% rename from test/test_issue247.py rename to test/test_issues/test_issue247.py diff --git a/test/test_issue248.py b/test/test_issues/test_issue248.py similarity index 100% rename from test/test_issue248.py rename to test/test_issues/test_issue248.py diff --git a/test/test_issue274.py b/test/test_issues/test_issue274.py similarity index 99% rename from test/test_issue274.py rename to test/test_issues/test_issue274.py index 6a139735e..291b0f150 100644 --- a/test/test_issue274.py +++ b/test/test_issues/test_issue274.py @@ -1,4 +1,4 @@ -from .testutils import eq_ +from test.testutils import eq_ from unittest import TestCase import pytest diff --git a/test/test_issue363.py b/test/test_issues/test_issue363.py similarity index 100% rename from test/test_issue363.py rename to test/test_issues/test_issue363.py diff --git a/test/test_issue379.py b/test/test_issues/test_issue379.py similarity index 100% rename from test/test_issue379.py rename to test/test_issues/test_issue379.py diff --git a/test/test_issue381.py b/test/test_issues/test_issue381.py similarity index 100% rename from test/test_issue381.py rename to test/test_issues/test_issue381.py diff --git a/test/test_issue432.py b/test/test_issues/test_issue432.py similarity index 100% rename from test/test_issue432.py rename to test/test_issues/test_issue432.py diff --git a/test/test_issue446.py b/test/test_issues/test_issue446.py similarity index 100% rename from test/test_issue446.py rename to test/test_issues/test_issue446.py diff --git a/test/test_issue492.py b/test/test_issues/test_issue492.py similarity index 100% rename from test/test_issue492.py rename to test/test_issues/test_issue492.py diff --git a/test/test_issue523.py b/test/test_issues/test_issue523.py similarity index 100% rename from test/test_issue523.py rename to test/test_issues/test_issue523.py diff --git a/test/test_issue532.py b/test/test_issues/test_issue532.py similarity index 100% rename from test/test_issue532.py rename to test/test_issues/test_issue532.py diff --git a/test/test_issue535.py b/test/test_issues/test_issue535.py similarity index 100% rename from test/test_issue535.py rename to test/test_issues/test_issue535.py diff --git a/test/test_issue545.py b/test/test_issues/test_issue545.py similarity index 100% rename from test/test_issue545.py rename to test/test_issues/test_issue545.py diff --git a/test/test_issue554.py b/test/test_issues/test_issue554.py similarity index 100% rename from test/test_issue554.py rename to test/test_issues/test_issue554.py diff --git a/test/test_issue563.py b/test/test_issues/test_issue563.py similarity index 100% rename from test/test_issue563.py rename to test/test_issues/test_issue563.py diff --git a/test/test_issue579.py b/test/test_issues/test_issue579.py similarity index 100% rename from test/test_issue579.py rename to test/test_issues/test_issue579.py diff --git a/test/test_issue604.py b/test/test_issues/test_issue604.py similarity index 100% rename from test/test_issue604.py rename to test/test_issues/test_issue604.py diff --git a/test/test_issue655.py b/test/test_issues/test_issue655.py similarity index 100% rename from test/test_issue655.py rename to test/test_issues/test_issue655.py diff --git a/test/test_issue715.py b/test/test_issues/test_issue715.py similarity index 100% rename from test/test_issue715.py rename to test/test_issues/test_issue715.py diff --git a/test/test_issue733.py b/test/test_issues/test_issue733.py similarity index 100% rename from test/test_issue733.py rename to test/test_issues/test_issue733.py diff --git a/test/test_issue801.py b/test/test_issues/test_issue801.py similarity index 100% rename from test/test_issue801.py rename to test/test_issues/test_issue801.py diff --git a/test/test_issue893.py b/test/test_issues/test_issue893.py similarity index 100% rename from test/test_issue893.py rename to test/test_issues/test_issue893.py diff --git a/test/test_issue910.py b/test/test_issues/test_issue910.py similarity index 100% rename from test/test_issue910.py rename to test/test_issues/test_issue910.py diff --git a/test/test_issue920.py b/test/test_issues/test_issue920.py similarity index 100% rename from test/test_issue920.py rename to test/test_issues/test_issue920.py diff --git a/test/test_issue923.py b/test/test_issues/test_issue923.py similarity index 100% rename from test/test_issue923.py rename to test/test_issues/test_issue923.py diff --git a/test/test_issue953.py b/test/test_issues/test_issue953.py similarity index 100% rename from test/test_issue953.py rename to test/test_issues/test_issue953.py diff --git a/test/test_issue977.py b/test/test_issues/test_issue977.py similarity index 100% rename from test/test_issue977.py rename to test/test_issues/test_issue977.py diff --git a/test/test_issue_git_200.py b/test/test_issues/test_issue_git_200.py similarity index 100% rename from test/test_issue_git_200.py rename to test/test_issues/test_issue_git_200.py diff --git a/test/test_issue_git_336.py b/test/test_issues/test_issue_git_336.py similarity index 100% rename from test/test_issue_git_336.py rename to test/test_issues/test_issue_git_336.py diff --git a/test/test_nquads_w3c.py b/test/test_parsers/test_nquads_w3c.py similarity index 100% rename from test/test_nquads_w3c.py rename to test/test_parsers/test_nquads_w3c.py diff --git a/test/test_nt_w3c.py b/test/test_parsers/test_nt_w3c.py similarity index 100% rename from test/test_nt_w3c.py rename to test/test_parsers/test_nt_w3c.py diff --git a/test/test_parser.py b/test/test_parsers/test_parser.py similarity index 100% rename from test/test_parser.py rename to test/test_parsers/test_parser.py diff --git a/test/test_parser_helpers.py b/test/test_parsers/test_parser_helpers.py similarity index 100% rename from test/test_parser_helpers.py rename to test/test_parsers/test_parser_helpers.py diff --git a/test/test_parser_hext.py b/test/test_parsers/test_parser_hext.py similarity index 95% rename from test/test_parser_hext.py rename to test/test_parsers/test_parser_hext.py index fdf419118..d4b595c10 100644 --- a/test/test_parser_hext.py +++ b/test/test_parsers/test_parser_hext.py @@ -40,7 +40,7 @@ def test_small_string_cg(): def test_small_file_singlegraph(): - d = Dataset().parse(Path(__file__).parent / "test_parser_hext_singlegraph.ndjson", format="hext") + d = Dataset().parse(Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_singlegraph.ndjson", format="hext") assert len(d) == 10 @@ -48,7 +48,7 @@ def test_small_file_multigraph(): d = Dataset() assert len(d) == 0 d.parse( - Path(__file__).parent / "test_parser_hext_multigraph.ndjson", + Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_multigraph.ndjson", format="hext", publicID=d.default_context.identifier ) @@ -68,7 +68,7 @@ def test_small_file_multigraph_cg(): d = ConjunctiveGraph() assert len(d) == 0 d.parse( - Path(__file__).parent / "test_parser_hext_multigraph.ndjson", + Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_multigraph.ndjson", format="hext", publicID=d.default_context.identifier ) diff --git a/test/test_parser_reads_from_pathlike_object.py b/test/test_parsers/test_parser_reads_from_pathlike_object.py similarity index 100% rename from test/test_parser_reads_from_pathlike_object.py rename to test/test_parsers/test_parser_reads_from_pathlike_object.py diff --git a/test/test_parser_structure.py b/test/test_parsers/test_parser_structure.py similarity index 100% rename from test/test_parser_structure.py rename to test/test_parsers/test_parser_structure.py diff --git a/test/test_swap_n3.py b/test/test_parsers/test_swap_n3.py similarity index 100% rename from test/test_swap_n3.py rename to test/test_parsers/test_swap_n3.py diff --git a/test/test_trix_parse.py b/test/test_parsers/test_trix_parse.py similarity index 100% rename from test/test_trix_parse.py rename to test/test_parsers/test_trix_parse.py diff --git a/test/test_turtle_w3c.py b/test/test_parsers/test_turtle_w3c.py similarity index 98% rename from test/test_turtle_w3c.py rename to test/test_parsers/test_turtle_w3c.py index 0112fa101..e5f52a755 100644 --- a/test/test_turtle_w3c.py +++ b/test/test_parsers/test_turtle_w3c.py @@ -11,7 +11,7 @@ from test.manifest import RDFT, RDFTest, read_manifest import pytest -from .testutils import file_uri_to_path +from test.testutils import file_uri_to_path verbose = False diff --git a/test/test_prettyxml.py b/test/test_serializers/test_prettyxml.py similarity index 100% rename from test/test_prettyxml.py rename to test/test_serializers/test_prettyxml.py diff --git a/test/test_serializer.py b/test/test_serializers/test_serializer.py similarity index 98% rename from test/test_serializer.py rename to test/test_serializers/test_serializer.py index fb9cdc115..5f99bb12f 100644 --- a/test/test_serializer.py +++ b/test/test_serializers/test_serializer.py @@ -11,7 +11,7 @@ from rdflib.graph import ConjunctiveGraph -from .testutils import GraphHelper +from test.testutils import GraphHelper @pytest.mark.parametrize( diff --git a/test/test_serializer_hext.py b/test/test_serializers/test_serializer_hext.py similarity index 97% rename from test/test_serializer_hext.py rename to test/test_serializers/test_serializer_hext.py index 7231338f6..dfba25332 100644 --- a/test/test_serializer_hext.py +++ b/test/test_serializers/test_serializer_hext.py @@ -234,7 +234,7 @@ def test_hext_dataset_linecount(): d = Dataset() assert len(d) == 0 d.parse( - Path(__file__).parent / "test_parser_hext_multigraph.ndjson", + Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_multigraph.ndjson", format="hext", publicID=d.default_context.identifier ) @@ -253,12 +253,12 @@ def test_hext_dataset_linecount(): def test_roundtrip(): d = Dataset() d.parse( - Path(__file__).parent / "test_parser_hext_multigraph.ndjson", + Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_multigraph.ndjson", format="hext", publicID=d.default_context.identifier ) d.default_union = True - with open(str(Path(__file__).parent / "test_parser_hext_multigraph.ndjson")) as i: + with open(str(Path(__file__).parent.parent / "consistent_test_data/test_parser_hext_multigraph.ndjson")) as i: ordered_input = "".join(sorted(i.readlines())).strip() ordered_output = "\n".join(sorted(d.serialize(format="hext").split("\n"))).strip() diff --git a/test/test_serializer_longturtle.py b/test/test_serializers/test_serializer_longturtle.py similarity index 100% rename from test/test_serializer_longturtle.py rename to test/test_serializers/test_serializer_longturtle.py diff --git a/test/test_serializer_trix.py b/test/test_serializers/test_serializer_trix.py similarity index 100% rename from test/test_serializer_trix.py rename to test/test_serializers/test_serializer_trix.py diff --git a/test/test_serializer_turtle.py b/test/test_serializers/test_serializer_turtle.py similarity index 100% rename from test/test_serializer_turtle.py rename to test/test_serializers/test_serializer_turtle.py diff --git a/test/test_serializer_xml.py b/test/test_serializers/test_serializer_xml.py similarity index 100% rename from test/test_serializer_xml.py rename to test/test_serializers/test_serializer_xml.py diff --git a/test/test_store.py b/test/test_store/test_store.py similarity index 100% rename from test/test_store.py rename to test/test_store/test_store.py diff --git a/test/test_auditable.py b/test/test_store/test_store_auditable.py similarity index 100% rename from test/test_auditable.py rename to test/test_store/test_store_auditable.py diff --git a/test/test_store_berkeleydb.py b/test/test_store/test_store_berkeleydb.py similarity index 100% rename from test/test_store_berkeleydb.py rename to test/test_store/test_store_berkeleydb.py diff --git a/test/test_memory_store.py b/test/test_store/test_store_memorystore.py similarity index 100% rename from test/test_memory_store.py rename to test/test_store/test_store_memorystore.py diff --git a/test/test_sparqlstore.py b/test/test_store/test_store_sparqlstore.py similarity index 99% rename from test/test_sparqlstore.py rename to test/test_store/test_store_sparqlstore.py index e7d7b4dac..d26ac9bb4 100644 --- a/test/test_sparqlstore.py +++ b/test/test_store/test_store_sparqlstore.py @@ -10,8 +10,8 @@ import pytest import re -from . import helper -from .testutils import ( +from test import helper +from test.testutils import ( MockHTTPResponse, ServedSimpleHTTPMock, ) diff --git a/test/test_sparqlupdatestore.py b/test/test_store/test_store_sparqlupdatestore.py similarity index 100% rename from test/test_sparqlupdatestore.py rename to test/test_store/test_store_sparqlupdatestore.py diff --git a/test/test_sparqlupdatestore_mock.py b/test/test_store/test_store_sparqlupdatestore_mock.py similarity index 96% rename from test/test_sparqlupdatestore_mock.py rename to test/test_store/test_store_sparqlupdatestore_mock.py index f812c3deb..5d35223f9 100644 --- a/test/test_sparqlupdatestore_mock.py +++ b/test/test_store/test_store_sparqlupdatestore_mock.py @@ -1,7 +1,7 @@ from rdflib.graph import ConjunctiveGraph from typing import ClassVar from rdflib import Namespace -from .testutils import MockHTTPResponse, ServedSimpleHTTPMock +from test.testutils import MockHTTPResponse, ServedSimpleHTTPMock import unittest EG = Namespace("http://example.org/") diff --git a/test/test_triple_store.py b/test/test_store/test_store_triple_store.py similarity index 100% rename from test/test_triple_store.py rename to test/test_store/test_store_triple_store.py