Skip to content

Commit 18132b0

Browse files
committed
tests/bugs: fix tests after addition of blocks_bug
Fixes: f5b9550 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 049d817 commit 18132b0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/scripts/test_pkgdev_bugs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_bug_filing(self, repo):
6868
session = BugsSession()
6969
pkg = max(repo.itermatch(atom("=cat/u-0")))
7070
with patch("pkgdev.scripts.pkgdev_bugs.urllib.urlopen", session):
71-
bugs.GraphNode(((pkg, {"*"}),)).file_bug("API", frozenset())
71+
bugs.GraphNode(((pkg, {"*"}),)).file_bug("API", frozenset(), ())
7272
assert len(session.calls) == 1
7373
call = session.calls[0]
7474
assert call["Bugzilla_api_key"] == "API"
@@ -83,7 +83,7 @@ def test_bug_filing_maintainer_needed(self, repo):
8383
session = BugsSession()
8484
pkg = max(repo.itermatch(atom("=cat/z-0")))
8585
with patch("pkgdev.scripts.pkgdev_bugs.urllib.urlopen", session):
86-
bugs.GraphNode(((pkg, {"*"}),)).file_bug("API", frozenset())
86+
bugs.GraphNode(((pkg, {"*"}),)).file_bug("API", frozenset(), ())
8787
assert len(session.calls) == 1
8888
call = session.calls[0]
8989
assert call["assigned_to"] == "maintainer-needed@gentoo.org"
@@ -99,7 +99,7 @@ def test_bug_filing_multiple_pkgs(self, repo):
9999
node = bugs.GraphNode(((pkgX, {"*"}), (pkgY, {"*"}), (pkgZ, {"*"})))
100100
node.edges.add(dep)
101101
with patch("pkgdev.scripts.pkgdev_bugs.urllib.urlopen", session):
102-
node.file_bug("API", frozenset())
102+
node.file_bug("API", frozenset(), ())
103103
assert len(session.calls) == 1
104104
call = session.calls[0]
105105
assert call["summary"] == "cat/x-0, cat/y-0, cat/z-0: stablereq"

0 commit comments

Comments
 (0)