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.
Alternatively 3rd party plugins (however few exist) can just do
try: core.test_ properties import test_id
return func
from bandit.
except ImportError:
def test_id(banditid):
def identity(func):
return identity
To get the same effect without declaring an actual test id on your test function.