UseCases.standard_compliance.IETF_RFC.rfc6901_examples.Case000_literals_JSON package

Submodules

UseCases.standard_compliance.IETF_RFC.rfc6901_examples.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
class UseCases.standard_compliance.IETF_RFC.rfc6901_examples.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

Base example from the specification.