summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/idl_schema_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/json_schema_compiler/idl_schema_test.py')
-rwxr-xr-xtools/json_schema_compiler/idl_schema_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/json_schema_compiler/idl_schema_test.py b/tools/json_schema_compiler/idl_schema_test.py
index d045f62..024f408 100755
--- a/tools/json_schema_compiler/idl_schema_test.py
+++ b/tools/json_schema_compiler/idl_schema_test.py
@@ -33,14 +33,14 @@ class IdlSchemaTest(unittest.TestCase):
self.assertEquals(expected, getParams(schema, 'function5'))
expected = [{'type':'function', 'name':'Callback3',
- 'parameters':[{'name':'arg', '$ref':'MyType1'}]}]
+ 'parameters':[{'name':'arg', '$ref':'idl_basics.MyType1'}]}]
self.assertEquals(expected, getParams(schema, 'function6'))
def testCallbackWithArrayArgument(self):
schema = self.idl_basics
expected = [{'type':'function', 'name':'Callback4',
'parameters':[{'name':'arg', 'type':'array',
- 'items':{'$ref':'MyType2'}}]}]
+ 'items':{'$ref':'idl_basics.MyType2'}}]}]
self.assertEquals(expected, getParams(schema, 'function12'))