#!/usr/bin/python
# coding=utf-8
################################################################################

from test import CollectorTestCase
from test import get_collector_config

from iodrivesnmp import IODriveSNMPCollector


class TestIODriveSNMPCollector(CollectorTestCase):
    def setUp(self, allowed_names=None):
        if not allowed_names:
            allowed_names = []
        config = get_collector_config('IODriveSNMPCollector', {
            'allowed_names': allowed_names,
            'interval': 1
        })
        self.collector = IODriveSNMPCollector(config, None)

    def test_import(self):
        self.assertTrue(IODriveSNMPCollector)

Test case for ioddrivesnmp class