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 (community) 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
diff --git a/lib/lp/scripts/tests/test_garbo.py b/lib/lp/scripts/tests/test_garbo.py
index bb2bfb2..a700663 100644
--- a/lib/lp/scripts/tests/test_garbo.py
+++ b/lib/lp/scripts/tests/test_garbo.py
@@ -268,7 +268,7 @@ class TestBulkPruner(TestCase):
268 self.assertEqual(self.store.find(BulkFoo, BulkFoo.id < 5).count(), 0)268 self.assertEqual(self.store.find(BulkFoo, BulkFoo.id < 5).count(), 0)
269269
270 # Confirm we have the expected number of remaining rows.270 # Confirm we have the expected number of remaining rows.
271 # With the previous check, this means no untargetted rows271 # With the previous check, this means no untargeted rows
272 # where removed.272 # where removed.
273 self.assertEqual(273 self.assertEqual(
274 self.store.find(BulkFoo, BulkFoo.id >= 5).count(), num_to_leave)274 self.store.find(BulkFoo, BulkFoo.id >= 5).count(), num_to_leave)
@@ -761,7 +761,7 @@ class TestGarbo(FakeAdapterMixin, TestCaseWithFactory):
761 self.assertIs(personset.getByName('test-unlinked-person-old'), None)761 self.assertIs(personset.getByName('test-unlinked-person-old'), None)
762762
763 def test_TeamMembershipPruner(self):763 def test_TeamMembershipPruner(self):
764 # Garbo should remove team memberships for meregd users and teams.764 # Garbo should remove team memberships for merged users and teams.
765 switch_dbuser('testadmin')765 switch_dbuser('testadmin')
766 merged_user = self.factory.makePerson()766 merged_user = self.factory.makePerson()
767 team = self.factory.makeTeam(members=[merged_user])767 team = self.factory.makeTeam(members=[merged_user])
@@ -1290,7 +1290,7 @@ class TestGarbo(FakeAdapterMixin, TestCaseWithFactory):
1290 self.assertEqual(4, obsolete_msgsets.count())1290 self.assertEqual(4, obsolete_msgsets.count())
1291 pruner = UnusedPOTMsgSetPruner(self.log)1291 pruner = UnusedPOTMsgSetPruner(self.log)
1292 pruner(2)1292 pruner(2)
1293 # A potmsgeset is set to a sequence > 0 between batches/commits.1293 # A potmsgset is set to a sequence > 0 between batches/commits.
1294 last_id = pruner.msgset_ids_to_remove[-1]1294 last_id = pruner.msgset_ids_to_remove[-1]
1295 used_potmsgset = store.find(POTMsgSet, POTMsgSet.id == last_id).one()1295 used_potmsgset = store.find(POTMsgSet, POTMsgSet.id == last_id).one()
1296 used_pofile = store.find(1296 used_pofile = store.find(

Subscribers

People subscribed via source and target branches

to status/vote changes: