launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #24601
[Merge] ~pappacena/launchpad:test-fixes-bug-attachment-permission into launchpad:master
Thiago F. Pappacena has proposed merging ~pappacena/launchpad:test-fixes-bug-attachment-permission into launchpad:master.
Commit message:
Fixes broken test caused by changes on bug attachment permission system.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/382506
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~pappacena/launchpad:test-fixes-bug-attachment-permission into launchpad:master.
diff --git a/lib/lp/services/librarian/tests/test_libraryfilealias_with_parent.py b/lib/lp/services/librarian/tests/test_libraryfilealias_with_parent.py
index 7bbf5e1..1232f7d 100644
--- a/lib/lp/services/librarian/tests/test_libraryfilealias_with_parent.py
+++ b/lib/lp/services/librarian/tests/test_libraryfilealias_with_parent.py
@@ -28,7 +28,8 @@ class TestLibraryFileAliasForBugAttachment(TestCaseWithFactory):
login_person(self.bug_owner)
self.bug = self.factory.makeBug(
owner=self.bug_owner, information_type=InformationType.USERDATA)
- self.bug_attachment = self.factory.makeBugAttachment(bug=self.bug)
+ self.bug_attachment = self.factory.makeBugAttachment(
+ bug=self.bug, owner=self.bug_owner)
self.lfa_with_parent = getMultiAdapter(
(self.bug_attachment.libraryfile, self.bug_attachment),
ILibraryFileAliasWithParent)