Skip to content

Commit

Permalink
Check configs are expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-flam committed Feb 8, 2022
1 parent 14532f6 commit ed2408c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_iterators.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def get_batch(batch):
batches = get_batch('my-alias')
self.assertEqual(len(batches), 2)

batches = get_batch('expand-lists-to-work-well-with-aliases')
self.assertEqual(batches[0].configurations, ['base', 'delta1', 'delta2'])

# batches-can-be-paths
batches = get_batch('../cli_tests/dir')
self.assertEqual(len(batches), 1)
Expand Down Expand Up @@ -211,6 +214,13 @@ def get_batch(batch):
- "-DD"
#=> configurations == ["base", "low-light", {"cde": ["-DD"]}]
expand-lists-to-work-well-with-aliases:
configurations:
- base
- [delta1, delta2]
inputs:
- a.txt:
aliases:
my-alias:
- my-batch
Expand Down

0 comments on commit ed2408c

Please sign in to comment.