def setUp(self):
        super().setUp()
        self.mongo_patcher = patch('common.djangoapps.track.backends.mongodb.MongoClient')
        self.mongo_patcher.start()
        self.addCleanup(self.mongo_patcher.stop)

        self.backend = MongoBackend()