SEBA-282 xosgenx filtering by app or model;
provide a default argument class for XOSProcessor;
remove tabs;
rename unit tests missed by nose2
Change-Id: I07b782982b6733f8828b8a5a72807326f430b1a5
diff --git a/lib/xos-genx/xos-genx-tests/test_graph.py b/lib/xos-genx/xos-genx-tests/test_graph.py
index cda36d0..fda3d99 100644
--- a/lib/xos-genx/xos-genx-tests/test_graph.py
+++ b/lib/xos-genx/xos-genx-tests/test_graph.py
@@ -15,8 +15,8 @@
import unittest
-from xosgenx.generator import XOSProcessor
-from helpers import FakeArgs, XProtoTestHelpers
+from xosgenx.generator import XOSProcessor, XOSProcessorArgs
+from helpers import XProtoTestHelpers
class XProtoGraphTests(unittest.TestCase):
def test_cross_model(self):
@@ -112,7 +112,7 @@
}
"""
- args = FakeArgs()
+ args = XOSProcessorArgs()
args.inputs = proto
args.target = target
output = XOSProcessor.process(args)
@@ -213,7 +213,7 @@
}
"""
- args = FakeArgs()
+ args = XOSProcessorArgs()
args.inputs = proto
args.target = xtarget
output = XOSProcessor.process(args)
@@ -305,7 +305,7 @@
required manytomany tags->Tag = 18 [db_index = False, null = False, blank = True];
}
"""
- args = FakeArgs()
+ args = XOSProcessorArgs()
args.inputs = proto
args.target = xtarget
output = XOSProcessor.process(args)