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

Method test_set_keyvalue

st2client/tests/unit/test_keyvalue.py:124–128  ·  view source on GitHub ↗

Test setting key/value pair with optional pre_encrypted field

(self)

Source from the content-addressed store, hash-verified

122 ),
123 )
124 def test_set_keyvalue(self):
125 """Test setting key/value pair with optional pre_encrypted field"""
126 args = ["key", "set", "--encrypted", "kv_name", "AAABBBCCC1234"]
127 retcode = self.shell.run(args)
128 self.assertEqual(retcode, 0)
129
130 def test_encrypt_and_encrypted_flags_are_mutually_exclusive(self):
131 args = ["key", "set", "--encrypt", "--encrypted", "kv_name", "AAABBBCCC1234"]

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected