doc: Fix typo in manpage.
[openvswitch] / tests / test-ovsdb.py
index 5f3cb995457f2a5ddfed89bf675143f8e79600cd..b0e42a35dc764ea3d1ae8a28006e73b9eec21744 100644 (file)
@@ -320,8 +320,9 @@ def idl_set(idl, commands, step):
 
 
 def do_idl(schema_file, remote, *commands):
-    schema = ovs.db.schema.DbSchema.from_json(ovs.json.from_file(schema_file))
-    idl = ovs.db.idl.Idl(remote, schema)
+    schema_helper = ovs.db.idl.SchemaHelper(schema_file)
+    schema_helper.register_all()
+    idl = ovs.db.idl.Idl(remote, schema_helper)
 
     if commands:
         error, stream = ovs.stream.Stream.open_block(