Ejemplo n.º 1
0
 def setup_class(cls):
     cls.channel_tag = "test_tag"
     channel_info = {
         "iden": "test_iden",
         "name": "test channel",
         "created": time.time(),
         "modified": time.time(),
         "tag": cls.channel_tag,
         "active": True,
     }
     cls.account = Mock(return_value=True)
     cls.channel = channel.Channel(cls.account, channel_info)
Ejemplo n.º 2
0
 def setup_class(cls):
     cls.channel_tag = "test_tag"
     channel_info = {
         'iden': "test_iden",
         'name': 'test channel',
         'created': time.time(),
         'modified': time.time(),
         'tag': cls.channel_tag,
         'active': True
     }
     cls.account = mock.Mock(return_value=True)
     cls.channel = channel.Channel(cls.account, channel_info)