summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/include001.yaml
diff options
context:
space:
mode:
authorDarragh Bailey <daragh.bailey@gmail.com>2015-05-06 01:09:45 +0100
committerDarragh Bailey <daragh.bailey@gmail.com>2015-09-18 00:37:00 +0100
commit3d728c71a850db3515c1e7f8c5816a595007ba17 (patch)
tree22c40ec47f8b55b098196a58fa215197572c4800 /tests/yamlparser/fixtures/include001.yaml
parent59a8342f8502f82e0fdfa66068779875f8d12319 (diff)
downloadpython-jenkins-job-builder-3d728c71a850db3515c1e7f8c5816a595007ba17.tar.gz
python-jenkins-job-builder-3d728c71a850db3515c1e7f8c5816a595007ba17.tar.xz
python-jenkins-job-builder-3d728c71a850db3515c1e7f8c5816a595007ba17.zip
Separate out custom yaml tags into separate classes
Implement custom tags for including files by subclassing YAMLObject to allow PyYAML to easily convert from the Yaml nodes. Change to support both lists and strings under the same tag name and deprecate the old tag naming. Rename tests using the deprecated tags to ensure they are not used for examples. Remove old tests that simply duplicate others. Change-Id: I1a8d3376ea6e4918a2adb05fb856b939a3124d74
Diffstat (limited to 'tests/yamlparser/fixtures/include001.yaml')
-rw-r--r--tests/yamlparser/fixtures/include001.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/yamlparser/fixtures/include001.yaml b/tests/yamlparser/fixtures/include001.yaml
index 85a54525..8c7c3cb0 100644
--- a/tests/yamlparser/fixtures/include001.yaml
+++ b/tests/yamlparser/fixtures/include001.yaml
@@ -38,7 +38,7 @@
- job:
name: test-job-1
wrappers:
- !include include001.yaml.inc
+ !include: include001.yaml.inc
properties:
- inject:
keep-build-variables: true