Move test_model.test_job_inheritance_configloader
This test (and others like it) are difficult to maintain because
they rely heavily on internal interfaces which we change frequently.
Now that more of the framework is in place, make it more of a
functional test where we validate the output of the whole system.
Change-Id: Ib987b4a289682e87c5192043c05efb085fee5942
diff --git a/tests/fixtures/layouts/job-variants.yaml b/tests/fixtures/layouts/job-variants.yaml
new file mode 100644
index 0000000..de99e8a
--- /dev/null
+++ b/tests/fixtures/layouts/job-variants.yaml
@@ -0,0 +1,61 @@
+- pipeline:
+ name: check
+ manager: independent
+ trigger:
+ gerrit:
+ - event: patchset-created
+ success:
+ gerrit:
+ Verified: 1
+ failure:
+ gerrit:
+ Verified: -1
+
+- job:
+ name: base
+ parent: null
+ pre-run: base-pre
+ post-run: base-post
+ nodeset:
+ nodes:
+ - name: controller
+ label: base
+
+- job:
+ name: python27
+ parent: base
+ timeout: 40
+ pre-run: py27-pre
+ post-run:
+ - py27-post-a
+ - py27-post-b
+ nodeset:
+ nodes:
+ - name: controller
+ label: new
+
+- job:
+ name: python27
+ timeout: 50
+ branches:
+ - stable/diablo
+ pre-run: py27-diablo-pre
+ run: py27-diablo
+ post-run: py27-diablo-post
+ nodeset:
+ nodes:
+ - name: controller
+ label: old
+
+- job:
+ name: python27
+ branches:
+ - stable/essex
+ pre-run: py27-essex-pre
+ post-run: py27-essex-post
+
+- project:
+ name: org/project
+ check:
+ jobs:
+ - python27