Skip to content

Commit

Permalink
Add test case for atmos stacks with relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
milldr committed Jan 9, 2025
2 parents fcf08fc + 29b390d commit 229aa91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/test-cases/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,3 @@ tests:
stderr:
- "ATMOS_SHLVL.*exceeds maximum allowed depth.*(\r?\n)+exit status 1(\r?\n)+exit status 1.*"
exit_code: 1

- name: atmos stacks with relative paths
enabled: true
description: "Verify atmos describe stacks command lists all stacks with their configurations when using relative paths with . and .. in imports"
workdir: "fixtures/scenarios/relative-paths"
command: "atmos"
args:
- "describe"
- "stacks"
expect:
stdout:
- "acme-platform-dev:"
- "acme-platform-staging:"
- "acme-platform-prod:"
stderr:
- "^$"
exit_code: 0
17 changes: 17 additions & 0 deletions tests/test-cases/relative-paths.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
tests:
- name: atmos stacks with relative paths
enabled: true
description: "Verify atmos describe stacks command lists all stacks with their configurations when using relative paths with . and .. in imports"
workdir: "fixtures/scenarios/relative-paths"
command: "atmos"
args:
- "describe"
- "stacks"
expect:
stdout:
- "acme-platform-dev:"
- "acme-platform-staging:"
- "acme-platform-prod:"
stderr:
- "^$"
exit_code: 0

0 comments on commit 229aa91

Please sign in to comment.