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)
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)