Skip to content

Commit

Permalink
Merge pull request #1408 from ajnelson-nist/test-adding-json-ld-to-gu…
Browse files Browse the repository at this point in the history
…ess-format

Add test for adding JSON-LD to guess_format()
  • Loading branch information
nicholascar authored Sep 17, 2021
2 parents 721d38a + 700f6e6 commit dad85e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_parse_file_guess_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@


class FileParserGuessFormatTest(unittest.TestCase):
def test_jsonld(self):
g = Graph()
self.assertIsInstance(g.parse("test/jsonld/1.1/manifest.jsonld"), Graph)

def test_ttl(self):
g = Graph()
self.assertIsInstance(g.parse("test/w3c/turtle/IRI_subject.ttl"), Graph)
Expand Down

0 comments on commit dad85e6

Please sign in to comment.