Mercurial > libervia-backend
diff sat/test/test_memory_crypto.py @ 2624:56f94936df1e
code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 20:14:46 +0200 |
parents | 26edcf3a30eb |
children | ab2696e34d29 |
line wrap: on
line diff
--- a/sat/test/test_memory_crypto.py Wed Jun 27 07:51:29 2018 +0200 +++ b/sat/test/test_memory_crypto.py Wed Jun 27 20:14:46 2018 +0200 @@ -30,11 +30,10 @@ def getRandomUnicode(len): """Return a random unicode string""" - return u''.join(random.choice(string.letters + u"éáúóâêûôßüöä") for i in xrange(len)) + return u"".join(random.choice(string.letters + u"éáúóâêûôßüöä") for i in xrange(len)) class CryptoTest(helpers.SatTestCase): - def setUp(self): self.host = helpers.FakeSAT()