Index: tools/json_schema_compiler/json_schema_test.py |
diff --git a/tools/json_schema_compiler/json_schema_test.py b/tools/json_schema_compiler/json_schema_test.py |
index 305431bb16c768a5f294bfb9c571039bd4478fc0..860c5879b9d03f9cdfaba853f657d17a56b14bab 100755 |
--- a/tools/json_schema_compiler/json_schema_test.py |
+++ b/tools/json_schema_compiler/json_schema_test.py |
@@ -3,7 +3,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-from json_schema import CachedLoad |
+import json_schema |
import json_schema_test |
import unittest |
@@ -72,7 +72,8 @@ class JsonSchemaUnittest(unittest.TestCase): |
} |
] |
- self.assertEquals(compiled, CachedLoad('test/json_schema_test.json')) |
+ schema = json_schema.CachedLoad('test/json_schema_test.json') |
+ self.assertEquals(compiled, json_schema.DeleteNocompileNodes(schema)) |
if __name__ == '__main__': |
unittest.main() |