Fetch source projects of requests

We do not care for current devel project, but for the projects we saw
requests from
This commit is contained in:
Stephan Kulow
2022-11-02 08:50:54 +01:00
parent 8a863498db
commit bbf1bc2fda
4 changed files with 38 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ class TestTreeMethods(unittest.TestCase):
for rev in data["revisions"]:
DBRevision.import_fixture_dict(self.db, rev)
revisions = TreeBuilder(self.db).build(package)
revisions = TreeBuilder(self.db).build("openSUSE:Factory", package)
path = os.path.join(
os.path.dirname(__file__), f"fixtures/{package}-expected-tree.yaml"
)