# 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'