Skip to content

Commit

Permalink
Add test to make sure that token exists when delivering
Browse files Browse the repository at this point in the history
  • Loading branch information
Aratz committed Sep 29, 2022
1 parent e5960f0 commit 803880d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration_tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ def mock_delivery(cmd):
shell = True
elif 'put' in cmd:
source_file = cmd[cmd.index("--source") + 1]
auth_token = cmd[cmd.index("--token-path") + 1]
new_cmd += ['&&', 'test', '-e', source_file]
new_cmd += ['&&', 'test', '-e', auth_token]
new_cmd = " ".join(new_cmd)
shell = True
else:
Expand Down

0 comments on commit 803880d

Please sign in to comment.