From fdf837b4b3baffc65e429c2e6ecc2e764bfed0ac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Aug 2021 23:38:52 -0400 Subject: Fix TriG graph indentation --- test/run_pretty_suite.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test/run_pretty_suite.py') diff --git a/test/run_pretty_suite.py b/test/run_pretty_suite.py index a17dd0f8..52686555 100755 --- a/test/run_pretty_suite.py +++ b/test/run_pretty_suite.py @@ -53,7 +53,7 @@ def test_suite( self.n_tests = 0 self.n_failures = 0 - def run_test(entry, results): + def run_test(entry, syntax, results): """Run a single test entry from the manifest.""" input_uri = model[entry][mf + "action"][0] @@ -65,7 +65,7 @@ def test_suite( "-B", base_uri, "-O", - "turtle", + syntax, "-o", output_path, input_path, @@ -92,9 +92,12 @@ def test_suite( # Run all test types in the test suite results = Results() for klass, instances in instances.items(): - if klass == "http://drobilla.net/ns/serd#TestTurtlePrint": + if klass == "http://drobilla.net/ns/serd#TestTrigPrint": for entry in instances: - run_test(entry, results) + run_test(entry, "TriG", results) + elif klass == "http://drobilla.net/ns/serd#TestTurtlePrint": + for entry in instances: + run_test(entry, "Turtle", results) # Print result summary if results.n_failures > 0: -- cgit v1.2.1