Exemple #1
0
 def setUp(self):
     self.pubnub = MagicMock(spec=PubNub,
                             config=pnconf,
                             sdk_name=sdk_name,
                             uuid=None)
     self.pubnub.uuid = "UUID_ListChannelsInCGTest"
     self.list = RemoveChannelGroup(self.pubnub)
 def setUp(self):
     self.pubnub = MagicMock(spec=PubNub,
                             config=pnconf,
                             sdk_name=sdk_name,
                             uuid=None,
                             _get_token=lambda: None)
     self.pubnub.uuid = "UUID_ListChannelsInCGTest"
     self.pubnub._telemetry_manager = TelemetryManager()
     self.list = RemoveChannelGroup(self.pubnub)