Skip to content

Commit

Permalink
additional test case
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealFalcon committed Oct 17, 2024
1 parent 2b308de commit 63ff10b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/unittests/cmd/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,22 @@ def test_main_sys_argv(
),
True,
),
# write_files with source file don't wait
(
mock.Mock(),
textwrap.dedent(
"""\
#cloud-config
write_files:
- source:
uri: /tmp/hi
headers:
Authorization: Basic stuff
User-Agent: me
"""
),
False,
),
# write_files without 'source' don't wait
(
mock.Mock(),
Expand Down

0 comments on commit 63ff10b

Please sign in to comment.