1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
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 ##############################################################################
13 from vstf.controller.functiontest.driver.drivertest import config_setup
14 from vstf.controller.unittest import model
17 class TestDriverFunction(model.Test):
20 logging.info("start driver function test unit test.")
22 def test_config_setup(self):
23 config, _ = config_setup()
24 for key in ("test_scene", "bond_flag", "switch_module"):
27 "config_setup function failure.")
30 logging.info("stop driver function test unit test.")
32 if __name__ == "__main__":
34 logging.basicConfig(level=logging.INFO)