Merge "Remove v3 project template test" into feature/zuulv3
diff --git a/tests/fixtures/config/project-template/git/common-config/zuul.yaml b/tests/fixtures/config/project-template/git/common-config/zuul.yaml
deleted file mode 100644
index c6b237f..0000000
--- a/tests/fixtures/config/project-template/git/common-config/zuul.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-- pipeline:
- name: check
- manager: independent
- source:
- gerrit
- trigger:
- gerrit:
- - event: patchset-created
- success:
- gerrit:
- verified: 1
- failure:
- gerrit:
- verified: -1
-
-- pipeline:
- name: gate
- manager: dependent
- success-message: Build succeeded (gate).
- source:
- gerrit
- trigger:
- gerrit:
- - event: comment-added
- approval:
- - approved: 1
- success:
- gerrit:
- verified: 2
- submit: true
- failure:
- gerrit:
- verified: -2
- start:
- gerrit:
- verified: 0
- precedence: high
-
-- job:
- name:
- project-test1
-
-- job:
- name:
- project-test2
-
-- project-template:
- name: test-template
- gate:
- jobs:
- - project-test2
-
-- project:
- name: org/project
- templates:
- - test-template
- gate:
- jobs:
- - project-test1
diff --git a/tests/fixtures/config/project-template/git/org_project/README b/tests/fixtures/config/project-template/git/org_project/README
deleted file mode 100644
index 9daeafb..0000000
--- a/tests/fixtures/config/project-template/git/org_project/README
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/tests/fixtures/config/project-template/main.yaml b/tests/fixtures/config/project-template/main.yaml
deleted file mode 100644
index a22ed5c..0000000
--- a/tests/fixtures/config/project-template/main.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-- tenant:
- name: tenant-one
- source:
- gerrit:
- config-repos:
- - common-config
diff --git a/tests/test_v3.py b/tests/test_v3.py
index 8f4e27e..8853302 100644
--- a/tests/test_v3.py
+++ b/tests/test_v3.py
@@ -110,22 +110,3 @@
"A should report start and success")
self.assertIn('tenant-one-gate', A.messages[1],
"A should transit tenant-one gate")
-
-
-class TestProjectTemplate(AnsibleZuulTestCase):
- tenant_config_file = 'config/project-template/main.yaml'
-
- def test(self):
- A = self.fake_gerrit.addFakeChange('org/project', 'master', 'A')
- A.addApproval('code-review', 2)
- self.fake_gerrit.addEvent(A.addApproval('approved', 1))
- self.waitUntilSettled()
- self.assertEqual(self.getJobFromHistory('project-test1').result,
- 'SUCCESS')
- self.assertEqual(self.getJobFromHistory('project-test2').result,
- 'SUCCESS')
- self.assertEqual(A.data['status'], 'MERGED')
- self.assertEqual(A.reported, 2,
- "A should report start and success")
- self.assertIn('gate', A.messages[1],
- "A should transit gate")