Skip to content

Commit 1808835

Browse files
DAS-2382: Remove BaseHarmonyAdapter.set_config call.
1 parent 9601c68 commit 1808835

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def __init__(self, message_string):
2121
secret_key = cfg.shared_secret_key
2222
decrypter = create_decrypter(bytes(secret_key, "utf-8"))
2323
message_data = json.loads(message_string)
24-
self.adapter = HarmonyAdapter(Message(message_data, decrypter))
25-
self.adapter.set_config(cfg)
24+
self.adapter = HarmonyAdapter(Message(message_data, decrypter), config=cfg)
2625

2726
self.downloaded_file = None
2827
self.downloaded_success = False

0 commit comments

Comments
 (0)