def test_generate_aead_simple_with_nonce(self):
        # Enabled flags 20000002 = YSM_AEAD_GENERATE,YSM_USER_NONCE
        # HSM> < keyload - Load key data now using flags 20000002. Press ESC to quit
        # 20000002 - stored ok
        key_handle = 0x20000002
        aead = self.hsm.generate_aead_simple(self.nonce, key_handle, self.secret)

        self.assertEqual(aead.nonce, self.nonce)
        self.assertEqual(aead.key_handle, key_handle)
Pretty print a JSON object
dataset/ETHPy150Open Yubico/python-pyhsm/test/test_aead.py/TestAEAD.test_generate_aead_simple_with_nonce--crossover with--dataset/ETHPy150Open bulkan/robotframework-requests/src/RequestsLibrary/RequestsKeywords.py/RequestsKeywords._json_pretty_print