summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Maynard <glenn@zewt.org>2012-06-07 16:18:03 +0000
committerGlenn Maynard <glenn@zewt.org>2012-06-07 16:18:03 +0000
commitf195a3f20c036cde5042b45adb33e30c010d2af1 (patch)
tree43e6bb92732647dfeeb03efbb8cbf47448b8fdf5
parent5b0e318ad44fb3b79e6ced3c022721655b778f31 (diff)
downloadjsonschema-f195a3f20c036cde5042b45adb33e30c010d2af1.tar.gz
Rename property in test schema.
This test has nothing to do with additionalProperties; this is just a property name.
-rw-r--r--tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.py b/tests.py
index 7868b04..e3e4a20 100644
--- a/tests.py
+++ b/tests.py
@@ -644,7 +644,7 @@ class TestValidate(ParameterizedTestCase, unittest.TestCase):
def test_schema_error_errors(self):
try:
- validate({}, { "properties": { "additionalProperties": False } }, stop_on_error=False)
+ validate({}, { "properties": { "test": False } }, stop_on_error=False)
except SchemaError as e:
self.assertGreater(len(e.errors), 0)
else: