From 700f6e6ef40a2d33e5678e260f03cd15148e0b3a Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Fri, 10 Sep 2021 17:49:51 -0400 Subject: [PATCH] Add test for adding JSON-LD to guess_format() This is a follow-on patch to: e778e9413510721c2fedaae56d4ff826df265c30 Test was confirmed to pass by running this on the current `master` branch, and confirmed to fail with e778e941 reverted. nosetests test/test_parse_file_guess_format.py Signed-off-by: Alex Nelson --- test/test_parse_file_guess_format.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_parse_file_guess_format.py b/test/test_parse_file_guess_format.py index b086ade77..a08487978 100644 --- a/test/test_parse_file_guess_format.py +++ b/test/test_parse_file_guess_format.py @@ -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)