CORD-2247: Write basic static checker for xproto
Change-Id: I63a96972e16fd8dd62d4dec840eede66cbb26368
diff --git a/lib/xos-genx/xos-genx-tests/test_xos_validation.py b/lib/xos-genx/xos-genx-tests/test_xos_validation.py
index 69dafc5..f38f65b 100644
--- a/lib/xos-genx/xos-genx-tests/test_xos_validation.py
+++ b/lib/xos-genx/xos-genx-tests/test_xos_validation.py
@@ -15,7 +15,7 @@
import unittest
-from xosgenx.generator import XOSGenerator
+from xosgenx.generator import XOSProcessor
from helpers import FakeArgs, XProtoTestHelpers
"""The function below is for eliminating warnings arising due to the missing policy_output_validator,
@@ -42,7 +42,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
obj = FakeArgs()
obj.isolation = 'container'
@@ -72,7 +72,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
obj = FakeArgs()
obj.isolation = 'container'
@@ -103,7 +103,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
exec(output) # This loads the generated function, which should look like this:
@@ -133,7 +133,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
exec(output) # This loads the generated function, which should look like this:
"""
@@ -164,7 +164,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
exec(output) # This loads the generated function, which should look like this:
"""
@@ -184,7 +184,7 @@
args = FakeArgs()
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
exec(output) # This loads the generated function, which should look like this:
"""
@@ -209,7 +209,7 @@
args.inputs = xproto
args.target = self.target
- output = XOSGenerator.generate(args)
+ output = XOSProcessor.process(args)
"""
def policy_output_enforcer(obj, ctx):