diff --git a/tests/test_includehandler.py b/tests/test_includehandler.py index ac7e613..50c2c87 100644 --- a/tests/test_includehandler.py +++ b/tests/test_includehandler.py @@ -230,6 +230,24 @@ header: 'rmiss': [ ] }, + # Include two files from another repo in sub-directories: + { + 'fdict': { + 'x.yml': header.format( + ' includes: [{repo: rep, file: dir1/y.yml}]'), + '/rep/dir1/y.yml': header.format( + ' includes: ["dir2/z.yml"]'), + '/rep/dir2/z.yml': header.format('\nv:') + }, + 'rdict': { + 'rep': '/rep' + }, + 'conf': { + 'v': None + }, + 'rmiss': [ + ] + }, ] self.util_include_content(testvector, monkeypatch)