diff options
author | David Robillard <d@drobilla.net> | 2013-03-03 06:34:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-03-03 06:34:04 +0000 |
commit | c7fb2c971e587dedb7151443f6424bee8235b333 (patch) | |
tree | d25a7db489aab2ea0aa7516ac9a228d37c4e1ac2 /wscript | |
parent | 27f9c0f0e2768785bcadfc83bc1a18ca54f1f24d (diff) | |
download | serd-c7fb2c971e587dedb7151443f6424bee8235b333.tar.gz serd-c7fb2c971e587dedb7151443f6424bee8235b333.tar.bz2 serd-c7fb2c971e587dedb7151443f6424bee8235b333.zip |
Pass negative eval tests (reject invalid escaped URI characters).
git-svn-id: http://svn.drobilla.net/serd/trunk@430 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -348,6 +348,14 @@ def test_manifest(ctx, srcdir, testdir, report, test_base, parse_base): passed = run_test(action_node, 1) report.write(earl_assertion(test, passed, asserter)) + for i in sorted(model.triples([None, rdf.type, rdft.TestTurtleNegativeEval])): + test = i[0] + name = model.value(test, mf.name, None) + action_node = model.value(test, mf.action, None)[len(test_base):] + + passed = run_test(action_node, 1) + report.write(earl_assertion(test, passed, asserter)) + for i in sorted(model.triples([None, rdf.type, rdft.TestTurtleEval])): test = i[0] name = model.value(test, mf.name, None) |