forked from ungleich-public/cdist
Bypass Configuration singleton from other tests if any.
This commit is contained in:
parent
9afc17f3f8
commit
0b58ab8c83
1 changed files with 3 additions and 0 deletions
|
@ -170,6 +170,9 @@ class LocalTestCase(test.CdistTestCase):
|
||||||
|
|
||||||
os.environ['CDIST_PATH'] = conf_dir
|
os.environ['CDIST_PATH'] = conf_dir
|
||||||
|
|
||||||
|
# bypass singleton from other tests if any
|
||||||
|
cc.Configuration.instance = None
|
||||||
|
|
||||||
configuration = cc.Configuration(argparse.Namespace(),
|
configuration = cc.Configuration(argparse.Namespace(),
|
||||||
env=os.environ)
|
env=os.environ)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue