2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-20 18:23:24 +00:00

Make unit tests use default config

This commit is contained in:
justin-h-loi
2023-08-15 16:14:55 -04:00
committed by arp102
parent bfa3c01893
commit 084fbcdb61
4 changed files with 4 additions and 23 deletions

View File

@@ -27,6 +27,8 @@ CONFIG_FILE = [
os.path.normpath(os.path.join(FILE_PATH, '../pykmip.conf')),
os.path.normpath(os.path.join(FILE_PATH, '../kmipconfig.ini'))]
if os.environ.get("UNITTEST"):
CONFIG_FILE = []
class ConfigHelper(object):
NONE_VALUE = 'None'