blob: 8a4e7d2ac20492d56fafd23cd5bc4d44ae8fdf77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# vim: set filencoding=utf8
"""
Authentication Test Suite
@author: Mike Crute (mcrute@ag.com)
@organization: American Greetings Interactive
@date: February 03, 2010
"""
from milkman.auth import flatten_sorted_dict, md5_sign
def test_sort_dict():
input = { 'alpha': '1', 'ahla': '2', 'beta': '3' }
output = flatten_sorted_dict(input)
assert output == 'ahla2alpha1beta3'
|