def setUp(self):
    self._client = TestClient()
    config = BotConfiguration()
    config.sentiment_analyser._classname = 'programy.sentiment.textblob_sentiment.TextBlobSentimentAnalyser'
    config.sentiment_analyser._scores = 'programy.sentiment.scores.SentimentScores'
    self.client_context = self._client.create_client_context('testuser')
    self.client_context._bot = Bot(config=config, client=self._client)
    self.client_context._bot.initiate_sentiment_analyser()
def setUp(self):
    self._client = TestClient()
    config = BotConfiguration()
    config.sentiment_analyser._classname = 'programy.sentiment.textblob_sentiment.TextBlobSentimentAnalyser'
    config.sentiment_analyser._scores = 'programy.sentiment.scores.SentimentScores'
    self.client_context = self._client.create_client_context('testuser')
    self.client_context._bot = Bot(config=config, client=self._client)
    self.client_context._bot.initiate_sentiment_analyser()