509
512
team.addMember(self.subscriber, team.teamowner,
510
513
status=TeamMembershipStatus.ADMIN)
511
514
self.makeDuplicates(count=1, subscriber=team)
514
516
self.subscriptions.reload()
515
517
# This should produce a very small number of queries.
518
520
# It should have the correct result.
519
521
self.assertCollectionsAreEmpty(except_='from_duplicate')
520
522
self.assertCollectionContents(