summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/component/rpm/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/component/rpm/__init__.py b/tests/component/rpm/__init__.py
index 5498666b..dea1c09f 100644
--- a/tests/component/rpm/__init__.py
+++ b/tests/component/rpm/__init__.py
@@ -43,17 +43,6 @@ class RepoManifest(object):
else:
self._doc.appendChild(self._doc.createElement("gbp-test-manifest"))
- def add_project(self, name, branches):
- """Add new project to the manifest"""
- prj_e = self._doc.createElement('project')
- prj_e.setAttribute('name', name)
- for branch, revision in branches.iteritems():
- br_e = self._doc.createElement('branch')
- br_e.setAttribute('name', branch)
- br_e.setAttribute('revision', revision)
- prj_e.appendChild(br_e)
- self._doc.firstChild.appendChild(prj_e)
-
def projects_iter(self):
"""Return an iterator over projects"""
for prj_e in self._doc.getElementsByTagName('project'):