Skip to content

Commit

Permalink
added profile with no region test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoval committed Aug 2, 2021
1 parent 7521dbc commit e30116e
Show file tree
Hide file tree
Showing 8 changed files with 158 additions and 7 deletions.
4 changes: 4 additions & 0 deletions tests/test_aws_credentials_file
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ aws_secret_access_key=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
aws_access_key_id=BBBBBBBBBBBBBBBBBBBB
aws_secret_access_key=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

[profile4]
aws_access_key_id=BBBBBBBBBBBBBBBBBBBB
aws_secret_access_key=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

[bogusprofile]
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-$us-east-1_@
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=4) {
([]*aw.Item) (len=5) {
(*aw.Item)({
title: (string) (len=7) "default",
subtitle: (*string)((len=14) "🌎 us-west-2"),
Expand Down Expand Up @@ -62,6 +62,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=21) "$us-east-1 @profile4 "),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-$us-east-1_@prof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=3) {
([]*aw.Item) (len=4) {
(*aw.Item)({
title: (string) (len=8) "profile1",
subtitle: (*string)((len=14) "🌎 us-east-1"),
Expand Down Expand Up @@ -41,6 +41,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=21) "$us-east-1 @profile4 "),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-@
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=4) {
([]*aw.Item) (len=5) {
(*aw.Item)({
title: (string) (len=7) "default",
subtitle: (*string)((len=14) "🌎 us-west-2"),
Expand Down Expand Up @@ -62,6 +62,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=10) "@profile4 "),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-@_$
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=4) {
([]*aw.Item) (len=5) {
(*aw.Item)({
title: (string) (len=7) "default",
subtitle: (*string)((len=14) "🌎 us-west-2"),
Expand Down Expand Up @@ -62,6 +62,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=12) "@profile4 $"),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-@_prof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=3) {
([]*aw.Item) (len=4) {
(*aw.Item)({
title: (string) (len=8) "profile1",
subtitle: (*string)((len=14) "🌎 us-east-1"),
Expand Down Expand Up @@ -41,6 +41,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=6) "@ prof"),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
23 changes: 22 additions & 1 deletion workflow/.snapshots/TestRun-@prof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=3) {
([]*aw.Item) (len=4) {
(*aw.Item)({
title: (string) (len=8) "profile1",
subtitle: (*string)((len=14) "🌎 us-east-1"),
Expand Down Expand Up @@ -41,6 +41,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=10) "@profile4 "),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
([]*aw.Item) (len=3) {
([]*aw.Item) (len=4) {
(*aw.Item)({
title: (string) (len=8) "profile1",
subtitle: (*string)((len=14) "🌎 us-east-1"),
Expand Down Expand Up @@ -41,6 +41,27 @@
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=8) "profile4",
subtitle: (*string)(<nil>),
match: (*string)(<nil>),
uid: (*string)((len=8) "profile4"),
autocomplete: (*string)((len=45) "elasticbeanstalk applications App1 @profile4 "),
arg: (*string)(<nil>),
valid: (bool) false,
file: (bool) false,
copytext: (*string)(<nil>),
largetype: (*string)(<nil>),
ql: (*string)(<nil>),
vars: (map[string]string) {
},
mods: (map[aw.ModKey]*aw.Modifier) <nil>,
icon: (*aw.Icon)({
Value: (string) (len=78) "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Accounts.icns",
Type: (aw.IconType) ""
}),
noUID: (bool) false
}),
(*aw.Item)({
title: (string) (len=12) "bogusprofile",
subtitle: (*string)((len=10) "🌎 bogus"),
Expand Down

0 comments on commit e30116e

Please sign in to comment.