j2labs/dictshield — pull request #31 by talos (2011-11-03 22:53:37+00:00)
Title: Jsonschema bug fixes and testing

I've added tests for all the demo objects to json schema. A few tests fail right now because the .to_jsonschema() code doesn't currently ignore non-public fields, but everything else passes.

There are stubs to validate instances as json, but I didn't fill these in (with the exception of the first one).

Writing the tests, I fixed a bunch of existing .to_jsonschema() bugs.