Merge ~jugmac00/launchpad:fix_typos into launchpad:master

Proposed by Jürgen Gmach
Status: Merged
Approved by: Jürgen Gmach
Approved revision: 740154aaa454a4405a99685db352696ee1710071
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~jugmac00/launchpad:fix_typos
Merge into: launchpad:master
Diff against target: 31 lines (+3/-3)
1 file modified
lib/lp/scripts/tests/test_garbo.py (+3/-3)
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+410312@code.launchpad.net

Commit message

fix typos

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/scripts/tests/test_garbo.py b/lib/lp/scripts/tests/test_garbo.py
2index bb2bfb2..a700663 100644
3--- a/lib/lp/scripts/tests/test_garbo.py
4+++ b/lib/lp/scripts/tests/test_garbo.py
5@@ -268,7 +268,7 @@ class TestBulkPruner(TestCase):
6 self.assertEqual(self.store.find(BulkFoo, BulkFoo.id < 5).count(), 0)
7
8 # Confirm we have the expected number of remaining rows.
9- # With the previous check, this means no untargetted rows
10+ # With the previous check, this means no untargeted rows
11 # where removed.
12 self.assertEqual(
13 self.store.find(BulkFoo, BulkFoo.id >= 5).count(), num_to_leave)
14@@ -761,7 +761,7 @@ class TestGarbo(FakeAdapterMixin, TestCaseWithFactory):
15 self.assertIs(personset.getByName('test-unlinked-person-old'), None)
16
17 def test_TeamMembershipPruner(self):
18- # Garbo should remove team memberships for meregd users and teams.
19+ # Garbo should remove team memberships for merged users and teams.
20 switch_dbuser('testadmin')
21 merged_user = self.factory.makePerson()
22 team = self.factory.makeTeam(members=[merged_user])
23@@ -1290,7 +1290,7 @@ class TestGarbo(FakeAdapterMixin, TestCaseWithFactory):
24 self.assertEqual(4, obsolete_msgsets.count())
25 pruner = UnusedPOTMsgSetPruner(self.log)
26 pruner(2)
27- # A potmsgeset is set to a sequence > 0 between batches/commits.
28+ # A potmsgset is set to a sequence > 0 between batches/commits.
29 last_id = pruner.msgset_ids_to_remove[-1]
30 used_potmsgset = store.find(POTMsgSet, POTMsgSet.id == last_id).one()
31 used_pofile = store.find(

Subscribers

People subscribed via source and target branches

to status/vote changes: