← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/launchpad:fix-membership-expiration-warning-value-doctests into launchpad:master

 

Guruprasad has proposed merging ~lgp171188/launchpad:fix-membership-expiration-warning-value-doctests into launchpad:master.

Commit message:
Update the days before warning in the xx-member-renewed-membership doctests


Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/424682
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:fix-membership-expiration-warning-value-doctests into launchpad:master.
diff --git a/lib/lp/registry/stories/teammembership/xx-member-renewed-membership.txt b/lib/lp/registry/stories/teammembership/xx-member-renewed-membership.txt
index 5388662..ff0efd3 100644
--- a/lib/lp/registry/stories/teammembership/xx-member-renewed-membership.txt
+++ b/lib/lp/registry/stories/teammembership/xx-member-renewed-membership.txt
@@ -76,7 +76,7 @@ the user to renew that membership because it's not about to expire.
     >>> print(extract_text(find_tag_by_id(browser.contents, 'maincontent')))
     Renew membership of Karl Tilbury in Mirror Administrators
     This membership cannot be renewed because it is not set to expire in
-    7 days or less. You or one of the team administrators has already
+    28 days or less. You or one of the team administrators has already
     renewed it.
 
 If we now change Karl's membership to expire in a couple days, he'll be
@@ -133,7 +133,7 @@ Karl can't renew it again, since it's now not set to expire soon.
     >>> print(extract_text(find_tag_by_id(browser.contents, 'maincontent')))
     Renew membership of Karl Tilbury in Mirror Administrators
     This membership cannot be renewed because it is not set to expire in
-    7 days or less. You or one of the team administrators has already
+    28 days or less. You or one of the team administrators has already
     renewed it.
 
 In the case of subteams whose membership is about to expire, any admin of the
@@ -196,7 +196,7 @@ will no longer be expiring soon.
     >>> print(extract_text(find_tag_by_id(browser.contents, 'maincontent')))
     Renew membership of Landscape Developers in Mirror Administrators
     This membership cannot be renewed because it is not set to expire in
-    7 days or less. Somebody else has already renewed it.
+    28 days or less. Somebody else has already renewed it.
 
 Any user who's not an admin of landscape-developers can't even see that page.