summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/controller/unittest/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'vstf/vstf/controller/unittest/model.py')
-rwxr-xr-xvstf/vstf/controller/unittest/model.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/vstf/vstf/controller/unittest/model.py b/vstf/vstf/controller/unittest/model.py
new file mode 100755
index 00000000..c4e992ce
--- /dev/null
+++ b/vstf/vstf/controller/unittest/model.py
@@ -0,0 +1,27 @@
+"""
+Created on 2015-9-28
+
+@author: y00228926
+"""
+import unittest
+
+from vstf.rpc_frame_work import rpc_producer
+from vstf.controller.unittest import configuration
+
+
+class Test(unittest.TestCase):
+
+ def setUp(self):
+ self.controller = configuration.rabbit_mq_server
+ self.tester_host = configuration.tester_host
+ self.target_host = configuration.target_host
+ self.source_repo = configuration.source_repo
+ self.conn = rpc_producer.Server(self.controller)
+
+ def tearDown(self):
+ self.conn.close()
+
+
+if __name__ == "__main__":
+ #import sys;sys.argv = ['', 'Test.testName']
+ unittest.main() \ No newline at end of file