CORD-2247: Write basic static checker for xproto
Change-Id: I63a96972e16fd8dd62d4dec840eede66cbb26368
diff --git a/lib/xos-genx/xos-genx-tests/test_cli.py b/lib/xos-genx/xos-genx-tests/test_cli.py
index e6de65c..4beef06 100644
--- a/lib/xos-genx/xos-genx-tests/test_cli.py
+++ b/lib/xos-genx/xos-genx-tests/test_cli.py
@@ -22,7 +22,7 @@
class Args:
pass
-class XOSGeneratorTest(unittest.TestCase):
+class XOSProcessorTest(unittest.TestCase):
"""
Testing the CLI binding for the XOS Generative Toolchain
"""
@@ -47,11 +47,10 @@
expected_args.target = os.path.abspath(os.getcwd() + '/' + args.target)
expected_args.output = os.path.abspath(os.getcwd() + '/' + args.output)
- with patch("xosgenx.xosgen.XOSGenerator.generate") as generator:
+ with patch("xosgenx.xosgen.XOSProcessor.process") as generator:
XosGen.init(args)
actual_args = generator.call_args[0][0]
self.assertEqual(actual_args.files, expected_args.files)
- self.assertEqual(actual_args.target, expected_args.target)
self.assertEqual(actual_args.output, expected_args.output)
if __name__ == '__main__':