Skip to content

Commit

Permalink
udpates a test param to make twilio.auth an OrderedDict
Browse files Browse the repository at this point in the history
  • Loading branch information
trp07 committed Aug 26, 2018
1 parent 5fa05d2 commit 81e03b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import pytest
import builtins

from collections import OrderedDict

import jsonconfig

import messages._config
Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit 81e03b8

Please sign in to comment.