MCPcopy Create free account
hub / github.com/StackStorm/st2 / setUpClass

Method setUpClass

st2common/tests/unit/test_crypto_utils.py:48–50  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

46class CryptoUtilsTestCase(TestCase):
47 @classmethod
48 def setUpClass(cls):
49 super(CryptoUtilsTestCase, cls).setUpClass()
50 CryptoUtilsTestCase.test_crypto_key = AESKey.generate()
51
52 def test_symmetric_encrypt_decrypt_short_string_needs_to_be_padded(self):
53 original = "a"

Callers

nothing calls this directly

Calls 1

generateMethod · 0.45

Tested by

no test coverage detected