Comment 1 for bug 1538269

Revision history for this message
Ian Cordasco (icordasc) wrote :

Alternatively 3rd party plugins (however few exist) can just do

    try:
        from bandit.core.test_properties import test_id
    except ImportError:
        def test_id(banditid):
            def identity(func):
                return func
            return identity

To get the same effect without declaring an actual test id on your test function.