Skip to content

Commit

Permalink
Add a fixme and use a file URI instead of a path.
Browse files Browse the repository at this point in the history
  • Loading branch information
aucampia committed Dec 20, 2022
1 parent 97ee18f commit eb0fbe0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/jsonld/test_localsuite.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
import json
import os
from os import chdir, getcwd
from os import path as p
from pathlib import Path

import pytest

from rdflib.term import URIRef

from . import runner

# TODO FIXME: We should be using this URI instead of a file URI, but as there is
# no way to customize URI loading yet this will not work, so instead TC_BASE is
# set to a file-uri further down.
# TC_BASE = "https://rdflib.github.io/rdflib-jsonld/local-testsuite/"

TC_BASE = (Path(__file__).parent / "local-suite").absolute().as_uri() + "/"

testsuite_dir = p.join(p.abspath(p.dirname(__file__)), "local-suite")
TC_BASE = testsuite_dir + os.sep


def read_manifest():
Expand Down

0 comments on commit eb0fbe0

Please sign in to comment.