diff options
author | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2013-05-08 06:58:02 -0700 |
---|---|---|
committer | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2013-05-08 06:58:02 -0700 |
commit | 407a55f135e229b50afb686de86a06b068316398 (patch) | |
tree | a5847f2bd01f0f30263f463bbe1fa60e3fe603ee /test | |
parent | f9903c366f55ac8bb0c9eaac7c8dacf6a1c14ed8 (diff) | |
parent | adb6d517afcf902332ca2be90da34de74f064f4d (diff) | |
download | rdflib-407a55f135e229b50afb686de86a06b068316398.tar.gz |
Merge pull request #277 from uholzer/register_with_mimetype
Register parsers and serializers with mime-type
Diffstat (limited to 'test')
-rw-r--r-- | test/test_finalnewline.py | 2 | ||||
-rw-r--r-- | test/test_roundtrip.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test_finalnewline.py b/test/test_finalnewline.py index dbd3d7ba..acbe6149 100644 --- a/test/test_finalnewline.py +++ b/test/test_finalnewline.py @@ -23,7 +23,7 @@ def testFinalNewline(): failed = set() for p in rdflib.plugin.plugins(None, rdflib.plugin.Serializer): - if p.name not in ( 'nquads', 'trix' ): + if p.name not in ( 'application/n-quads', 'nquads', 'trix' ): v = graph.serialize(format=p.name) lines = v.split(b("\n")) if b("\n") not in v or (lines[-1]!=b('')): diff --git a/test/test_roundtrip.py b/test/test_roundtrip.py index 4ab0fd56..757b608c 100644 --- a/test/test_roundtrip.py +++ b/test/test_roundtrip.py @@ -26,6 +26,7 @@ tests roundtripping through rdf/xml with only the literals-02 file SKIP = [ ('xml', 'test/nt/qname-02.nt'), # uses a property that cannot be qname'd + ('application/rdf+xml', 'test/nt/qname-02.nt'), # uses a property that cannot be qname'd ] |