← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~twom/launchpad:questions-about-storm-subscriptions into launchpad:master

 

Tom Wardill has proposed merging ~twom/launchpad:questions-about-storm-subscriptions into launchpad:master.

Commit message:
Fix model representation in doc tests

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/386081
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~twom/launchpad:questions-about-storm-subscriptions into launchpad:master.
diff --git a/lib/lp/answers/browser/tests/views.txt b/lib/lp/answers/browser/tests/views.txt
index 6056091..f552ca4 100644
--- a/lib/lp/answers/browser/tests/views.txt
+++ b/lib/lp/answers/browser/tests/views.txt
@@ -17,7 +17,7 @@ Several views are used to handle the various operations on a question.
 
     >>> login('test@xxxxxxxxxxxxx')
     >>> firefox_question.subscribe(firefox_question.owner)
-    <QuestionSubscription...>
+    <lp.answers.model.questionsubscription.QuestionSubscription...>
 
 
 QuestionSubscriptionView
diff --git a/lib/lp/answers/doc/expiration.txt b/lib/lp/answers/doc/expiration.txt
index 7995e7d..bacb58c 100644
--- a/lib/lp/answers/doc/expiration.txt
+++ b/lib/lp/answers/doc/expiration.txt
@@ -80,7 +80,7 @@ somebody are subject to expiration.
     # to make sure that DB permissions are correct.
     >>> admin_team = getUtility(IPersonSet).getByName('admins')
     >>> old_open_question.subscribe(admin_team)
-    <QuestionSubscription...>
+    <lp.answers.model.questionsubscription.QuestionSubscription...>
     >>> salgado = getUtility(IPersonSet).getByName('salgado')
     >>> old_open_question.target.addAnswerContact(salgado, salgado)
     True
diff --git a/lib/lp/answers/doc/notifications.txt b/lib/lp/answers/doc/notifications.txt
index fe7a24d..0faaa18 100644
--- a/lib/lp/answers/doc/notifications.txt
+++ b/lib/lp/answers/doc/notifications.txt
@@ -310,7 +310,7 @@ giveInfo() transitions, let's see the other ones.
     # sent.
 
     >>> ubuntu_question.subscribe(sample_person)
-    <QuestionSubscription ...>
+    <lp.answers.model.questionsubscription.QuestionSubscription ...>
 
 
 Notifications for expireQuestion()
diff --git a/lib/lp/answers/doc/person.txt b/lib/lp/answers/doc/person.txt
index 4993f76..2a33486 100644
--- a/lib/lp/answers/doc/person.txt
+++ b/lib/lp/answers/doc/person.txt
@@ -226,7 +226,7 @@ subscribed to...
     >>> pt_BR_question = getUtility(IQuestionSet).get(13)
     >>> login('foo.bar@xxxxxxxxxxxxx')
     >>> pt_BR_question.subscribe(foo_bar_raw)
-    <QuestionSubscription...>
+    <lp.answers.model.questionsubscription.QuestionSubscription...>
 
     >>> print(', '.join(
     ...     sorted(language.code