Skip to content

Commit b241889

Browse files
author
jessevz
committed
Fixed error in tests by removing deprecated {extension} from new confidence version
1 parent 58d6ec0 commit b241889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/apiv2/hashtopolis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def __init__(self, *args, **kwargs):
5252
class HashtopolisConfig(object):
5353
def __init__(self):
5454
# Request access TOKEN, used throughout the test
55-
load_order = (str(Path(__file__).parent.joinpath('{name}-defaults.{extension}')),) \
55+
load_order = (str(Path(__file__).parent.joinpath('{name}-defaults{suffix}')),) \
5656
+ confidence.DEFAULT_LOAD_ORDER
57-
self._cfg = confidence.load_name('hashtopolis-test', load_order=load_order)
57+
self._cfg = confidence.load_name('hashtopolis-test', load_order=load_order, format=confidence.YAML())
5858
self._hashtopolis_uri = self._cfg['hashtopolis_uri']
5959
self._api_endpoint = self._hashtopolis_uri + '/api/v2'
6060
self.username = self._cfg['username']

0 commit comments

Comments
 (0)