def setUp(self):
    super(AddContentUserIdsContentJobTests, self).setUp()
    self.collection_rights_model_swap = self.swap(collection_models, 'CollectionRightsModel', MockCollectionRightsModel)
    self.exploration_rights_model_swap = self.swap(exp_models, 'ExplorationRightsModel', MockExplorationRightsModel)
    self.topic_rights_model_swap = self.swap(topic_models, 'TopicRightsModel', MockTopicRightsModel)
def setUp(self):
    super(AddContentUserIdsContentJobTests, self).setUp()
    self.collection_rights_model_swap = self.swap(collection_models, 'CollectionRightsModel', MockCollectionRightsModel)
    self.exploration_rights_model_swap = self.swap(exp_models, 'ExplorationRightsModel', MockExplorationRightsModel)
    self.topic_rights_model_swap = self.swap(topic_models, 'TopicRightsModel', MockTopicRightsModel)