Remove commitLayoutUpdate
This is superceded by commitConfigUpdate
Change-Id: Ice9c2fd320a4d581f0f71cbacc61f7ac58183c23
diff --git a/tests/base.py b/tests/base.py
index 6c5ab2c..463e873 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -2039,22 +2039,6 @@
repo.create_tag(tag)
return before
- def commitLayoutUpdate(self, orig_name, source_name):
- source_path = os.path.join(self.test_root, 'upstream',
- source_name)
- to_copy = ['zuul.yaml']
- for playbook in os.listdir(os.path.join(source_path, 'playbooks')):
- to_copy.append('playbooks/{}'.format(playbook))
- commit_data = {}
- for source_file in to_copy:
- source_file_path = os.path.join(source_path, source_file)
- with open(source_file_path, 'r') as nt:
- commit_data[source_file] = nt.read()
- before = self.addCommitToRepo(
- orig_name, 'Pulling content from %s' % source_name,
- commit_data)
- return before
-
def commitConfigUpdate(self, project_name, source_name):
"""Commit an update to zuul.yaml