diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-08-04 02:34:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-04 02:34:59 +0000 |
commit | 99e92d157cd01e5e6e545cb6eb779c7fe9875b23 (patch) | |
tree | 60851c692eb5d464cf498091f81e18f040aa8281 /tests/conftest.py | |
parent | e17dc35e2e445a7b7d52398a55d196cca8a680b3 (diff) | |
parent | 60fac3073876a9a5591c42cd3fa0cb5237ed2177 (diff) |
Merge "Add the unit test by pytest for get_conf.py"
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 00000000..6a8dd68f --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,17 @@ +############################################################################## +# Copyright (c) 2016 ZTE Corp 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 +############################################################################## + +from os import path + +import pytest + + +@pytest.fixture(scope='session') +def data_root(): + return path.join(path.dirname(__file__), 'data') |