コード例 #1
0
ファイル: test_subject.py プロジェクト: sfermigier/yaka-core
  def test_non_ascii_password(self):
    """Ensure we can store and test non ascii password without
    any UnicodeEncodeError
    """
    user = User()

    try:
      user.set_password(u'Hé')
    except UnicodeEncodeError, e:
      self.fail(e)