Merge "Change PTL informatin in INFO"
[bottlenecks.git] / testsuites / vstf / vstf_scripts / vstf / controller / unittest / model.py
1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 import unittest
11
12 from vstf.rpc_frame_work import rpc_producer
13 from vstf.controller.unittest import configuration
14
15
16 class Test(unittest.TestCase):
17
18     def setUp(self):
19         self.controller = configuration.rabbit_mq_server
20         self.tester_host = configuration.tester_host
21         self.target_host = configuration.target_host
22         self.source_repo = configuration.source_repo
23         self.conn = rpc_producer.Server(self.controller)
24
25     def tearDown(self):
26         self.conn.close()
27
28
29 if __name__ == "__main__":
30     #import sys;sys.argv = ['', 'Test.testName']
31     unittest.main()