def get_interval_test(self):
        parameters = ["param1", "param2", "param3", "param4"]

        b = BaseMethod(parameters)

        # overwrite parameter validity dictionary for testing
        parameterIntervals = {
            "param1": [0.0, 1.0, False, False],
            "param2": [0.0, 1.0, False, True],
            "param3": [0.0, 1.0, True, False],
            "param4": [0.0, 1.0, True, True]
        }
        b._parameterIntervals = parameterIntervals

        for parameter in parameters:
            i = b.get_interval(parameter)
            if not i == parameterIntervals[parameter]:
                raise AssertionError    # pragma: no cover

        assert None == b.get_interval("unknown")
Parse alienvault reputation db entries. These are pretty complicated so a simpler parser is used.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/BaseMethodTest.get_interval_test--crossover with--dataset/ETHPy150Open jpsenior/threataggregator/threataggregator.py/alienvault