Add simple_layout test decorator

And add it to test_no_job_project.

So that we can reduce the number of boilerplate git repos initialized
for every (or most) tests, make it simple to specify a single simple
layout file (like we used to do in zuul v2).  The more complicated
scenarios can rely on the full copy-git-repos-from-test-fixtures
behavior, but simple tests can have that automatically generated from
a simple zuul.yaml file.

Change-Id: Ibeec4c526a1097823589f2c38a50e40dc346e0e5
This commit is contained in:
James E. Blair
2017-04-19 10:08:10 -07:00
parent 86073d32f4
commit 06cc392c9c
7 changed files with 116 additions and 23 deletions

View File

@@ -225,9 +225,3 @@
dependencies: nonvoting-project-merge
- nonvoting-project-test2:
dependencies: nonvoting-project-merge
- project:
name: org/no-jobs-project
check:
jobs:
- project-testfile

View File

@@ -1 +0,0 @@
staypuft

View File

@@ -20,4 +20,3 @@
- org/conflict-project
- org/noop-project
- org/experimental-project
- org/no-jobs-project