def test_pw(): pw = [u'blah blah blah', 'blah blah blah', u"\u2603", 'Blah Blah Blah'] for p in pw: s = l._mangle_pw(p) assert s assert s == l._mangle_pw(p, s)
def test_pw(): pw = [u"blah blah blah", "blah blah blah", u"\u2603", "Blah Blah Blah"] for p in pw: s = l._mangle_pw(p) assert s assert s == l._mangle_pw(p, s)