Skip to content

Commit

Permalink
Fix up tests for wb account, try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Aug 11, 2016
1 parent eaf1d4d commit c27280e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_deploy_utils(self):

def test_secrets(self):
unauthorized_ok = [dict(return_codes=[os.EX_OK]),
dict(return_codes=[1, os.EX_SOFTWARE], stderr="AccessDenied")]
dict(return_codes=[1, os.EX_SOFTWARE], stderr="(AccessDenied|NoSuchKey)")]
self.call("test_secret=test aegea secrets put test_secret --iam-role aegea.launch",
shell=True, expect=unauthorized_ok)
self.call("aegea secrets put test_secret --generate-ssh-key --iam-role aegea.launch",
Expand Down

0 comments on commit c27280e

Please sign in to comment.