summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/controller/unittest/model.py
blob: 4c38973ec28f2672d947fc20ac05e623f18a6dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##############################################################################
# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

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()