@@ -46,9 +46,9 @@ class ProcessState(enum.IntEnum):
4646class HashtopolisConfig (object ):
4747 def __init__ (self ):
4848 # Request access TOKEN, used throughout the test
49- load_order = (str (Path (__file__ ).parent .joinpath ('{name}-defaults.{extension }' )),) \
49+ load_order = (str (Path (__file__ ).parent .joinpath ('{name}-defaults{suffix }' )),) \
5050 + confidence .DEFAULT_LOAD_ORDER
51- self ._cfg = confidence .load_name ('hashtopolis-test' , load_order = load_order )
51+ self ._cfg = confidence .load_name ('hashtopolis-test' , load_order = load_order , format = confidence . YAML () )
5252 self ._hashtopolis_uri = self ._cfg ['hashtopolis_uri' ]
5353 self ._api_endpoint = self ._hashtopolis_uri + '/api/v2'
5454 self .username = self ._cfg ['username' ]
@@ -60,9 +60,9 @@ class DummyAgent(object):
6060 # State: Early Alpha
6161 def __init__ (self , token = None , voucher = None ):
6262 # Request access TOKEN, used throughout the test
63- load_order = (str (Path (__file__ ).parent .joinpath ('{name}-defaults.{extension }' )),) \
63+ load_order = (str (Path (__file__ ).parent .joinpath ('{name}-defaults{suffix }' )),) \
6464 + confidence .DEFAULT_LOAD_ORDER
65- self ._cfg = confidence .load_name ('hashtopolis-test' , load_order = load_order )
65+ self ._cfg = confidence .load_name ('hashtopolis-test' , load_order = load_order , format = confidence . YAML () )
6666 self ._hashtopolis_uri = self ._cfg ['hashtopolis_uri' ]
6767 self ._api_endpoint = self ._hashtopolis_uri + '/api/server.php'
6868
0 commit comments