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
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 old_bug( 'expirable_ distro' , 351, ubuntu) bugtask2. bug.can_ expire Factory Factory( ) makeBugComment( bug=ubuntu_ bugtask2. bug) bugtask2. bug.can_ expire
>>> from lp.bugs.tests.bug import create_old_bug
>>> ubuntu_bugtask2 = create_
>>> ubuntu_
True
>>> from lp.testing.factory import LaunchpadObject
>>> factory = LaunchpadObject
>>> factory.
<Message at...
>>> ubuntu_
False