So if can_expire really means may expire than the documentation should
be updated to reflect that. However, the following test passes and I'm
unsure why.
# Add a comment to the bug report and see if it can still expire
>>> from lp.bugs.tests.bug import create_old_bug
>>> ubuntu_bugtask2 = create_old_bug('expirable_distro', 351, ubuntu)
>>> ubuntu_bugtask2.bug.can_expire
True
>>> from lp.testing.factory import LaunchpadObjectFactory
>>> factory = LaunchpadObjectFactory()
>>> factory.makeBugComment(bug=ubuntu_bugtask2.bug)
<Message at...
>>> ubuntu_bugtask2.bug.can_expire
False
--
Launchpad's can_expire not being reset when comments added.
https://bugs.launchpad.net/bugs/595124
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs