7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-06 16:10:48 +00:00

minor: test file formatting

This commit is contained in:
Régis Behmo 2021-02-25 10:03:45 +01:00
parent de872282b2
commit 41bb6fe190

View File

@ -33,4 +33,6 @@ class UtilsTests(unittest.TestCase):
self.assertTrue(utils.verify_encrypted(encrypted2, password))
def test_long_to_base64(self):
self.assertEqual(b"\x00", base64.urlsafe_b64decode(utils.long_to_base64(0) + "=="))
self.assertEqual(
b"\x00", base64.urlsafe_b64decode(utils.long_to_base64(0) + "==")
)