Bypass Configuration singleton from other tests if any.

This commit is contained in:
Darko Poljak 2018-10-10 12:34:31 +02:00
parent 9afc17f3f8
commit 0b58ab8c83

View file

@ -170,6 +170,9 @@ class LocalTestCase(test.CdistTestCase):
os.environ['CDIST_PATH'] = conf_dir
# bypass singleton from other tests if any
cc.Configuration.instance = None
configuration = cc.Configuration(argparse.Namespace(),
env=os.environ)