blob: c1516cd11a3d9f27468c688356dd6b853ce12579 [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
from libs import encryption_util
class EcryptionUtilTest(unittest.TestCase):
def testPad(self):
message = 'Hello World!'
expected_padded_message = encryption_util._Pad(message)
self.assertEqual(message, expected_padded_message)