Bypass Configuration singleton from other tests if any.

remotes/origin/4.10
Darko Poljak 7 years ago
parent 9afc17f3f8
commit 0b58ab8c83
  1. 3
      cdist/test/exec/local.py

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

Loading…
Cancel
Save