From 81e03b86073248990c2af41f0e3b11d4d7fd2ebd Mon Sep 17 00:00:00 2001 From: Timoteo Date: Sun, 26 Aug 2018 13:03:28 +0300 Subject: [PATCH] udpates a test param to make twilio.auth an OrderedDict --- tests/test_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index 06fe21b..fc52357 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -3,6 +3,8 @@ import pytest import builtins +from collections import OrderedDict + import jsonconfig import messages._config @@ -453,7 +455,8 @@ def test_write_data(get_cfg): ('slackpost', {'auth': 's3cr3t'}, 's3cr3t'), ('slackwebhook', {'auth': 's3cr3t'}, 's3cr3t'), ('telegrambot', {'auth': 's3cr3t'}, 's3cr3t'), - ('twilio', {'auth_sid': 'ABCD', 'auth_token': '1234'}, 'ABCD :: 1234'), + ('twilio', OrderedDict({'auth_sid': 'ABCD', 'auth_token': '1234'}), + 'ABCD :: 1234'), ]) def test_write_auth(msg, auth, pwd, get_cfg): """