We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f5709 commit 2012e99Copy full SHA for 2012e99
tests/st2tests.sh
@@ -57,3 +57,20 @@ load "${BATS_HELPERS_DIR}/bats-file/load.bash"
57
assert_success
58
assert_line --partial 'chatops.notify'
59
}
60
+
61
+@test 'st2 key/value operations are functional' {
62
+ run st2 key set foo bar
63
+ assert_success
64
65
+ run st2 key get foo
66
67
+ assert_line --partial 'bar'
68
69
+ run st2 key delete foo
70
+ assert_line --partial '"foo" has been successfully deleted'
71
72
73
74
+ assert_line --partial '"foo" is not found'
75
+ assert_failure
76
+}
0 commit comments