Skip to content

Commit dad85e6

Browse files
author
Nicholas Car
authored
Merge pull request #1408 from ajnelson-nist/test-adding-json-ld-to-guess-format
Add test for adding JSON-LD to guess_format()
2 parents 721d38a + 700f6e6 commit dad85e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_parse_file_guess_format.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111

1212
class FileParserGuessFormatTest(unittest.TestCase):
13+
def test_jsonld(self):
14+
g = Graph()
15+
self.assertIsInstance(g.parse("test/jsonld/1.1/manifest.jsonld"), Graph)
16+
1317
def test_ttl(self):
1418
g = Graph()
1519
self.assertIsInstance(g.parse("test/w3c/turtle/IRI_subject.ttl"), Graph)

0 commit comments

Comments
 (0)