コード例 #1
0
ファイル: test_slack.py プロジェクト: oklahomer/sarah
 def slack(self, request):
     client = Slack(token='spam_ham_egg',
                    plugins=(),
                    max_workers=1)
     client.ws = MagicMock()
     return client
コード例 #2
0
 def slack(self, request):
     client = Slack(token='spam_ham_egg', plugins=(), max_workers=1)
     client.ws = MagicMock()
     return client
コード例 #3
0
ファイル: test_slack.py プロジェクト: oklahomer/sarah
 def slack(self, request):
     client = Slack(token='spam_ham_egg',
                    plugins=(),
                    max_workers=1)
     client.ws = Mock(spec=WebSocketApp)
     return client
コード例 #4
0
 def slack(self, request):
     client = Slack(token='spam_ham_egg', plugins=(), max_workers=1)
     client.ws = Mock(spec=WebSocketApp)
     return client