@@ -26,7 +26,6 @@ import (
2626)
2727
2828func TestCloudAccountCommandAliases (t * testing.T ) {
29- t .Skip ()
3029 // lacework cloud-account
3130 out , err , exitcode := LaceworkCLI ("help" , "cloud-account" )
3231 assert .Contains (t , out .String (), "lacework cloud-account [command]" )
@@ -35,25 +34,24 @@ func TestCloudAccountCommandAliases(t *testing.T) {
3534
3635 // lacework cloud-accounts
3736 out , err , exitcode = LaceworkCLI ("help" , "cloud-accounts" )
38- assert .Contains (t , out .String (), "lacework cloud-accounts [command]" )
37+ assert .Contains (t , out .String (), "lacework cloud-account [command]" )
3938 assert .Empty (t , err .String (), "STDERR should be empty" )
4039 assert .Equal (t , 0 , exitcode , "EXITCODE is not the expected one" )
4140
4241 // lacework cloud
4342 out , err , exitcode = LaceworkCLI ("help" , "cloud" )
44- assert .Contains (t , out .String (), "lacework cloud [command]" )
43+ assert .Contains (t , out .String (), "lacework cloud-account [command]" )
4544 assert .Empty (t , err .String (), "STDERR should be empty" )
4645 assert .Equal (t , 0 , exitcode , "EXITCODE is not the expected one" )
4746
4847 // lacework ca
4948 out , err , exitcode = LaceworkCLI ("help" , "ca" )
50- assert .Contains (t , out .String (), "lacework ca [command]" )
49+ assert .Contains (t , out .String (), "lacework cloud-account [command]" )
5150 assert .Empty (t , err .String (), "STDERR should be empty" )
5251 assert .Equal (t , 0 , exitcode , "EXITCODE is not the expected one" )
5352}
5453
5554func _TestCloudAccountCommandList (t * testing.T ) {
56- t .Skip ()
5755 out , err , exitcode := LaceworkCLIWithTOMLConfig ("cloud-account" , "list" )
5856 assert .Contains (t , out .String (), "CLOUD ACCOUNT GUID" ,
5957 "STDOUT table headers changed, please check" )
@@ -73,7 +71,6 @@ func _TestCloudAccountCommandList(t *testing.T) {
7371}
7472
7573func _TestCloudAccountCommandListWithTypeFlag (t * testing.T ) {
76- t .Skip ()
7774 out , err , exitcode := LaceworkCLIWithTOMLConfig ("cloud-account" , "list" , "--type" , "AWS_CFG" )
7875 assert .Contains (t , out .String (), "CLOUD ACCOUNT GUID" ,
7976 "STDOUT table headers changed, please check" )
@@ -95,7 +92,6 @@ func _TestCloudAccountCommandListWithTypeFlag(t *testing.T) {
9592}
9693
9794func _TestCloudAccountCommandListWithTypeFlagErrorUnknownType (t * testing.T ) {
98- t .Skip ()
9995 out , err , exitcode := LaceworkCLIWithTOMLConfig ("cloud-account" , "list" , "--type" , "FOO_BAR" )
10096 assert .Emptyf (t , out .String (),
10197 "STDOUT should be empty" )
@@ -107,8 +103,7 @@ func _TestCloudAccountCommandListWithTypeFlagErrorUnknownType(t *testing.T) {
107103}
108104
109105func TestCloudAccountShow (t * testing.T ) {
110- t .Skip ()
111- out , err , exitcode := LaceworkCLIWithTOMLConfig ("cloud-account" , "show" , "TECHALLY_948AB76C4F809D5CBE4C92BB38F6EBFD9F413694FD85C75" )
106+ out , err , exitcode := LaceworkCLIWithTOMLConfig ("cloud-account" , "show" , "TECHALLY_BA7DC3D27F930097DDD414B8FFF2F655FCB39075625F5E9" )
112107 // Summary Table
113108 assert .Contains (t , out .String (), "CLOUD ACCOUNT GUID" ,
114109 "STDOUT table headers changed, please check" )
@@ -149,7 +144,6 @@ func TestCloudAccountShow(t *testing.T) {
149144}
150145
151146func TestCloudAccountList (t * testing.T ) {
152- t .Skip ()
153147 out , err , exitcode := LaceworkCLIWithTOMLConfig ("ca" , "list" )
154148 assert .Contains (t , out .String (), "CLOUD ACCOUNT GUID" ,
155149 "STDOUT table headers changed, please check" )
0 commit comments