diff options
author | Glenn Maynard <glenn@zewt.org> | 2012-06-07 16:18:03 +0000 |
---|---|---|
committer | Glenn Maynard <glenn@zewt.org> | 2012-06-07 16:18:03 +0000 |
commit | f195a3f20c036cde5042b45adb33e30c010d2af1 (patch) | |
tree | 43e6bb92732647dfeeb03efbb8cbf47448b8fdf5 | |
parent | 5b0e318ad44fb3b79e6ced3c022721655b778f31 (diff) | |
download | jsonschema-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |