UseCases.standard_compliance.IETF_RFC.rfc6902_examples.a_quotes_rfc6902.Case000_literals_JSON package

Submodules

UseCases.standard_compliance.IETF_RFC.rfc6902_examples.a_quotes_rfc6902.Case000_literals_JSON.CallCase module

Standards tests from RFC6901 for compliance of pointer syntax.

This case covers in particular the standard contained examples. For JSON notation of RFC6901:

""           // the whole document
"/foo"       ["bar", "baz"]
"/foo/0"     "bar"
"/"          0
"/a~1b"      1
"/c%d"       2
"/e^f"       3
"/g|h"       4
"/i\j"      5
"/k"l"      6
"/ "         7
"/m~0n"      8

For fragments notation of RFC6901/RFC3986:

#            // the whole document            
#/foo        ["bar", "baz"]
#/foo/0      "bar"
#/           0
#/a~1b       1
#/c%25d      2
#/e%5Ef      3
#/g%7Ch      4
#/i%5Cj      5
#/k%22l      6
#/%20        7
#/m~0n       8
class UseCases.standard_compliance.IETF_RFC.rfc6902_examples.a_quotes_rfc6902.Case000_literals_JSON.CallCase.CallUnits(methodName='runTest')[source]

Bases: unittest.case.TestCase

testCase000()[source]

Create an object for data only - no schema.

testCase900()[source]

JSONPointers: “”

testCase901()[source]

JSONPointers: “/foo”

testCase902()[source]

JSONPointers: “/foo/0”

testCase903()[source]

JSONPointers: “/”

testCase904()[source]

JSONPointers: “/a~1b”

testCase905()[source]

JSONPointers: “/c%d”

testCase906()[source]

JSONPointers: “e^f”

testCase907()[source]

JSONPointers: “g|h”

testCase908()[source]

JSONPointers: “m~0n”

Module contents

Operator __add__.