def test_usedAsDecorator(self):
        self.flakes('''
        from interior import decorate
        @decorate
        def f():
            return "hello"
        ''')

        self.flakes('''
        from interior import decorate
        @decorate('value')
        def f():
            return "hello"
        ''')

        self.flakes('''
        @decorate
        def f():
            return "hello"
        ''', m.UndefinedName)
Get the devices controlling a given IP.
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/TestSpecialAll.test_usedAsDecorator--crossover with--dataset/ETHPy150Open facebook/augmented-traffic-control/atc/atcd/atcd/AtcdThriftHandlerTask.py/AtcdThriftHandlerTask.getDevicesControlling