Permalink
Browse files

Simple

  • Loading branch information...
Julian committed Feb 25, 2013
1 parent 66075e5 commit 47b8f5ca17e758e97fa93aa82f51da846aa4309c
Showing with 8 additions and 0 deletions.
  1. +8 −0 perftest
View
@@ -22,6 +22,14 @@ print("Validating {0} times.".format(arguments.number))
for name, benchmark in (
+ (
+ "Simple", """
+ validator = Draft3Validator(
+ {"type" : "object", "properties" : {"foo" : {"required" : True}}}
+ )
+ instance = {"foo" : 12, "bar" : 13}
+ """
+ ),
(
"Meta schema", """
validator = Draft3Validator(Draft3Validator.META_SCHEMA)

0 comments on commit 47b8f5c

Please sign in to comment.