Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (env)☁ bandit [mako] ⚡ bandit -d examples/false_negative.py
- [manager] DEBUG logging initialized
- [test_set] DEBUG _get_decorators_list returning: ['category', 'checks', 'checks_calls', 'checks_exec', 'checks_functions', 'checks_imports', 'checks_strings', 'severity', 'takes_config', 'title', 'uuid']
- [test_set] DEBUG importing plugin module: plugins.__init__
- [test_set] DEBUG importing plugin module: plugins.blacklist_calls
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function blacklist_functions targetting Call
- [test_set] DEBUG importing plugin module: plugins.blacklist_imports
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Import', 'ImportFrom']
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function blacklist_import_func targetting Call
- [test_set] DEBUG added function blacklist_imports targetting Import
- [test_set] DEBUG added function blacklist_imports targetting ImportFrom
- [test_set] DEBUG importing plugin module: plugins.crypto_random
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Import', 'ImportFrom']
- [test_set] DEBUG added function random_lib_calls targetting Call
- [test_set] DEBUG added function random_lib_imports targetting Import
- [test_set] DEBUG added function random_lib_imports targetting ImportFrom
- [test_set] DEBUG importing plugin module: plugins.crypto_request_no_cert_validation
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function request_with_no_cert_validation targetting Call
- [test_set] DEBUG importing plugin module: plugins.exec
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Exec']
- [test_set] DEBUG added function exec_used targetting Exec
- [test_set] DEBUG importing plugin module: plugins.exec_as_root
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function execute_with_run_as_root_equals_true targetting Call
- [test_set] DEBUG importing plugin module: plugins.general_bad_file_permissions
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function set_bad_file_permissions targetting Call
- [test_set] DEBUG importing plugin module: plugins.general_bind_all_interfaces
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Str']
- [test_set] DEBUG added function hardcoded_bind_all_interfaces targetting Str
- [test_set] DEBUG importing plugin module: plugins.general_hardcoded_password
- [test_set] DEBUG importing plugin module: plugins.general_hardcoded_tmp
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Str']
- [test_set] DEBUG added function hardcoded_tmp_directory targetting Str
- [test_set] DEBUG importing plugin module: plugins.injection_shell
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function any_other_function_with_shell_equals_true targetting Call
- [test_set] DEBUG added function subprocess_popen_with_shell_equals_true targetting Call
- [test_set] DEBUG importing plugin module: plugins.injection_sql
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Str']
- [test_set] DEBUG added function hardcoded_sql_expressions targetting Str
- [test_set] DEBUG importing plugin module: plugins.injection_wildcard
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function linux_commands_wildcard_injection targetting Call
- [test_set] DEBUG importing plugin module: plugins.insecure_ssl_tls
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['FunctionDef']
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function ssl_with_bad_defaults targetting FunctionDef
- [test_set] DEBUG added function ssl_with_bad_version targetting Call
- [test_set] DEBUG added function ssl_with_no_version targetting Call
- [test_set] DEBUG importing plugin module: plugins.jinja2_templates
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function jinja2_autoescape_false targetting Call
- [test_set] DEBUG importing plugin module: plugins.mako_templates
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function use_of_mako_templates targetting Call
- [test_set] DEBUG importing plugin module: plugins.secret_config_option
- [test_properties] DEBUG checks_decorator function executed
- [test_properties] DEBUG func._checks: ['Call']
- [test_set] DEBUG added function password_config_option_not_marked_secret targetting Call
- [test_set] DEBUG obtained filtered set of tests:
- [test_set] DEBUG Exec : {'exec_used': <function exec_used at 0x10cda56e0>}
- [test_set] DEBUG Call : {'random_lib_calls': <function random_lib_calls at 0x10cda5500>, 'blacklist_import_func': <function blacklist_import_func at 0x10cda1de8>, 'use_of_mako_templates': <function use_of_mako_templates at 0x10ce06488>, 'set_bad_file_permissions': <function set_bad_file_permissions at 0x10cda5ed8>, 'request_with_no_cert_validation': <function request_with_no_cert_validation at 0x10cda57d0>, 'ssl_with_no_version': <function ssl_with_no_version at 0x10ce06320>, 'subprocess_popen_with_shell_equals_true': <function subprocess_popen_with_shell_equals_true at 0x10cdb51b8>, 'ssl_with_bad_version': <function ssl_with_bad_version at 0x10ce06230>, 'any_other_function_with_shell_equals_true': <function any_other_function_with_shell_equals_true at 0x10cdb5140>, 'blacklist_functions': <function blacklist_functions at 0x10cda18c0>, 'linux_commands_wildcard_injection': <function linux_commands_wildcard_injection at 0x10ce06050>, 'password_config_option_not_marked_secret': <function password_config_option_not_marked_secret at 0x10ce06500>, 'jinja2_autoescape_false': <function jinja2_autoescape_false at 0x10ce06410>, 'execute_with_run_as_root_equals_true': <function execute_with_run_as_root_equals_true at 0x10cda5c80>}
- [test_set] DEBUG ImportFrom : {'blacklist_imports': <function blacklist_imports at 0x10cda1c08>, 'random_lib_imports': <function random_lib_imports at 0x10cda5a28>}
- [test_set] DEBUG Str : {'hardcoded_sql_expressions': <function hardcoded_sql_expressions at 0x10cdf7488>, 'hardcoded_tmp_directory': <function hardcoded_tmp_directory at 0x10cdabd70>, 'hardcoded_bind_all_interfaces': <function hardcoded_bind_all_interfaces at 0x10cdab9b0>}
- [test_set] DEBUG Import : {'blacklist_imports': <function blacklist_imports at 0x10cda1c08>, 'random_lib_imports': <function random_lib_imports at 0x10cda5a28>}
- [test_set] DEBUG FunctionDef : {'ssl_with_bad_defaults': <function ssl_with_bad_defaults at 0x10ce06398>}
- [manager] DEBUG working on file : examples/false_negative.py
- [node_visitor] DEBUG Module qualified name: false_negative
- [node_visitor] DEBUG Module(body=[Import(names=[alias(name='mako', asname=None)]), Expr(value=Call(func=Attribute(value=Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load()), attr='Template', ctx=Load()), args=[Str(s='hern')], keywords=[], starargs=None, kwargs=None))])
- [meta_ast] DEBUG adding node : 0x10cdfb750 [0]
- [node_visitor] DEBUG entering: 0x10cdfb750 <class '_ast.Module'> [0]
- [node_visitor] DEBUG Import(names=[alias(name='mako', asname=None)])
- [meta_ast] DEBUG adding node : 0x10cdfbad0 [1]
- [node_visitor] DEBUG entering: 0x10cdfbad0 <class '_ast.Import'> [1]
- [node_visitor] DEBUG visit_Import called (Import(names=[alias(name='mako', asname=None)]))
- [test_set] DEBUG get_tests called with check type: Import
- [test_set] DEBUG get_tests returning scoped_tests : {'blacklist_imports': <function blacklist_imports at 0x10cda1c08>, 'random_lib_imports': <function random_lib_imports at 0x10cda5a28>}
- [node_visitor] DEBUG alias(name='mako', asname=None)
- [meta_ast] DEBUG adding node : 0x10cdfb650 [2]
- [node_visitor] DEBUG entering: 0x10cdfb650 <class '_ast.alias'> [2]
- [node_visitor] DEBUG 2 exiting : 0x10cdfb650
- [node_visitor] DEBUG 1 exiting : 0x10cdfbad0
- [node_visitor] DEBUG Expr(value=Call(func=Attribute(value=Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load()), attr='Template', ctx=Load()), args=[Str(s='hern')], keywords=[], starargs=None, kwargs=None))
- [meta_ast] DEBUG adding node : 0x10cdfbb50 [1]
- [node_visitor] DEBUG entering: 0x10cdfbb50 <class '_ast.Expr'> [1]
- [node_visitor] DEBUG Call(func=Attribute(value=Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load()), attr='Template', ctx=Load()), args=[Str(s='hern')], keywords=[], starargs=None, kwargs=None)
- [meta_ast] DEBUG adding node : 0x10ce082d0 [2]
- [node_visitor] DEBUG entering: 0x10ce082d0 <class '_ast.Call'> [2]
- [node_visitor] DEBUG visit_Call called (Call(func=Attribute(value=Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load()), attr='Template', ctx=Load()), args=[Str(s='hern')], keywords=[], starargs=None, kwargs=None))
- INCORRECT!!!!!!!!
- <_ast.Attribute object at 0x10ce085d0>
- <_ast.Attribute object at 0x10ce085d0>
- id: None
- name: None
- <_ast.Name object at 0x10ce08710>
- id: mako
- name: None
- <_ast.Load object at 0x10cb03190>
- id: None
- name: None
- <_ast.Load object at 0x10cb03190>
- id: None
- name: None
- Template
- [test_set] DEBUG get_tests called with check type: Call
- [test_set] DEBUG get_tests returning scoped_tests : {'random_lib_calls': <function random_lib_calls at 0x10cda5500>, 'blacklist_import_func': <function blacklist_import_func at 0x10cda1de8>, 'use_of_mako_templates': <function use_of_mako_templates at 0x10ce06488>, 'set_bad_file_permissions': <function set_bad_file_permissions at 0x10cda5ed8>, 'request_with_no_cert_validation': <function request_with_no_cert_validation at 0x10cda57d0>, 'ssl_with_no_version': <function ssl_with_no_version at 0x10ce06320>, 'subprocess_popen_with_shell_equals_true': <function subprocess_popen_with_shell_equals_true at 0x10cdb51b8>, 'ssl_with_bad_version': <function ssl_with_bad_version at 0x10ce06230>, 'any_other_function_with_shell_equals_true': <function any_other_function_with_shell_equals_true at 0x10cdb5140>, 'blacklist_functions': <function blacklist_functions at 0x10cda18c0>, 'linux_commands_wildcard_injection': <function linux_commands_wildcard_injection at 0x10ce06050>, 'password_config_option_not_marked_secret': <function password_config_option_not_marked_secret at 0x10ce06500>, 'jinja2_autoescape_false': <function jinja2_autoescape_false at 0x10ce06410>, 'execute_with_run_as_root_equals_true': <function execute_with_run_as_root_equals_true at 0x10cda5c80>}
- ['Template'] Template
- ('__class__', <class '_ast.Call'>)
- ('__delattr__', <method-wrapper '__delattr__' of Call object at 0x10ce082d0>)
- ('__dict__', {'col_offset': 0, 'starargs': None, 'args': [<_ast.Str object at 0x10ce08210>], 'lineno': 2, 'func': <_ast.Attribute object at 0x10ce084d0>, 'kwargs': None, 'keywords': []})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Call object at 0x10ce082d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Call object at 0x10ce082d0>)
- ('__hash__', <method-wrapper '__hash__' of Call object at 0x10ce082d0>)
- ('__init__', <method-wrapper '__init__' of Call object at 0x10ce082d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Call object at 0x10ce082d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Call object at 0x10ce082d0>)
- ('__repr__', <method-wrapper '__repr__' of Call object at 0x10ce082d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Call object at 0x10ce082d0>)
- ('__sizeof__', <built-in method __sizeof__ of Call object at 0x10ce082d0>)
- ('__str__', <method-wrapper '__str__' of Call object at 0x10ce082d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd591d990>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('func', 'args', 'keywords', 'starargs', 'kwargs'))
- ('args', [<_ast.Str object at 0x10ce08210>])
- ('col_offset', 0)
- ('func', <_ast.Attribute object at 0x10ce084d0>)
- ('keywords', [])
- ('kwargs', None)
- ('lineno', 2)
- ('starargs', None)
- ('__class__', <class '_ast.Attribute'>)
- ('__delattr__', <method-wrapper '__delattr__' of Attribute object at 0x10ce084d0>)
- ('__dict__', {'col_offset': 0, 'ctx': <_ast.Load object at 0x10cb03190>, 'attr': 'Template', 'value': <_ast.Attribute object at 0x10ce085d0>, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Attribute object at 0x10ce084d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Attribute object at 0x10ce084d0>)
- ('__hash__', <method-wrapper '__hash__' of Attribute object at 0x10ce084d0>)
- ('__init__', <method-wrapper '__init__' of Attribute object at 0x10ce084d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Attribute object at 0x10ce084d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Attribute object at 0x10ce084d0>)
- ('__repr__', <method-wrapper '__repr__' of Attribute object at 0x10ce084d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Attribute object at 0x10ce084d0>)
- ('__sizeof__', <built-in method __sizeof__ of Attribute object at 0x10ce084d0>)
- ('__str__', <method-wrapper '__str__' of Attribute object at 0x10ce084d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd591ecd0>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('value', 'attr', 'ctx'))
- ('attr', 'Template')
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10cb03190>)
- ('lineno', 2)
- ('value', <_ast.Attribute object at 0x10ce085d0>)
- ('__class__', <class '_ast.Str'>)
- ('__delattr__', <method-wrapper '__delattr__' of Str object at 0x10ce08210>)
- ('__dict__', {'s': 'hern', 'lineno': 2, 'col_offset': 23})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Str object at 0x10ce08210>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Str object at 0x10ce08210>)
- ('__hash__', <method-wrapper '__hash__' of Str object at 0x10ce08210>)
- ('__init__', <method-wrapper '__init__' of Str object at 0x10ce08210>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Str object at 0x10ce08210>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Str object at 0x10ce08210>)
- ('__repr__', <method-wrapper '__repr__' of Str object at 0x10ce08210>)
- ('__setattr__', <method-wrapper '__setattr__' of Str object at 0x10ce08210>)
- ('__sizeof__', <built-in method __sizeof__ of Str object at 0x10ce08210>)
- ('__str__', <method-wrapper '__str__' of Str object at 0x10ce08210>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd591e800>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('s',))
- ('col_offset', 23)
- ('lineno', 2)
- ('s', 'hern')
- ('__class__', <class '_ast.Attribute'>)
- ('__delattr__', <method-wrapper '__delattr__' of Attribute object at 0x10ce085d0>)
- ('__dict__', {'col_offset': 0, 'ctx': <_ast.Load object at 0x10cb03190>, 'attr': 'template', 'value': <_ast.Name object at 0x10ce08710>, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Attribute object at 0x10ce085d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Attribute object at 0x10ce085d0>)
- ('__hash__', <method-wrapper '__hash__' of Attribute object at 0x10ce085d0>)
- ('__init__', <method-wrapper '__init__' of Attribute object at 0x10ce085d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Attribute object at 0x10ce085d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Attribute object at 0x10ce085d0>)
- ('__repr__', <method-wrapper '__repr__' of Attribute object at 0x10ce085d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Attribute object at 0x10ce085d0>)
- ('__sizeof__', <built-in method __sizeof__ of Attribute object at 0x10ce085d0>)
- ('__str__', <method-wrapper '__str__' of Attribute object at 0x10ce085d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd591ecd0>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('value', 'attr', 'ctx'))
- ('attr', 'template')
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10cb03190>)
- ('lineno', 2)
- ('value', <_ast.Name object at 0x10ce08710>)
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10cb03190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10cb03190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10cb03190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10cb03190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10cb03190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10cb03190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10cb03190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10cb03190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10cb03190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10cb03190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10cb03190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd5920cb0>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- ('__class__', <class '_ast.Name'>)
- ('__delattr__', <method-wrapper '__delattr__' of Name object at 0x10ce08710>)
- ('__dict__', {'ctx': <_ast.Load object at 0x10cb03190>, 'id': 'mako', 'col_offset': 0, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Name object at 0x10ce08710>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Name object at 0x10ce08710>)
- ('__hash__', <method-wrapper '__hash__' of Name object at 0x10ce08710>)
- ('__init__', <method-wrapper '__init__' of Name object at 0x10ce08710>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Name object at 0x10ce08710>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Name object at 0x10ce08710>)
- ('__repr__', <method-wrapper '__repr__' of Name object at 0x10ce08710>)
- ('__setattr__', <method-wrapper '__setattr__' of Name object at 0x10ce08710>)
- ('__sizeof__', <built-in method __sizeof__ of Name object at 0x10ce08710>)
- ('__str__', <method-wrapper '__str__' of Name object at 0x10ce08710>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd591f670>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('id', 'ctx'))
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10cb03190>)
- ('id', 'mako')
- ('lineno', 2)
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10cb03190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10cb03190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10cb03190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10cb03190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10cb03190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10cb03190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10cb03190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10cb03190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10cb03190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10cb03190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10cb03190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd5920cb0>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10cb03190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10cb03190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10cb03190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10cb03190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10cb03190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x10c889e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10cb03190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10cb03190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10cb03190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10cb03190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10cb03190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10cb03190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fedd5920cb0>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- [node_visitor] DEBUG Attribute(value=Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load()), attr='Template', ctx=Load())
- [meta_ast] DEBUG adding node : 0x10ce084d0 [3]
- [node_visitor] DEBUG entering: 0x10ce084d0 <class '_ast.Attribute'> [3]
- [node_visitor] DEBUG Attribute(value=Name(id='mako', ctx=Load()), attr='template', ctx=Load())
- [meta_ast] DEBUG adding node : 0x10ce085d0 [4]
- [node_visitor] DEBUG entering: 0x10ce085d0 <class '_ast.Attribute'> [4]
- [node_visitor] DEBUG Name(id='mako', ctx=Load())
- [meta_ast] DEBUG adding node : 0x10ce08710 [5]
- [node_visitor] DEBUG entering: 0x10ce08710 <class '_ast.Name'> [5]
- [node_visitor] DEBUG Load()
- [meta_ast] DEBUG adding node : 0x10cb03190 [6]
- [node_visitor] DEBUG entering: 0x10cb03190 <class '_ast.Load'> [6]
- [node_visitor] DEBUG 6 exiting : 0x10cb03190
- [node_visitor] DEBUG 5 exiting : 0x10ce08710
- [node_visitor] DEBUG Load()
- [meta_ast] DEBUG adding node : 0x10cb03190 [5]
- [node_visitor] DEBUG entering: 0x10cb03190 <class '_ast.Load'> [5]
- [node_visitor] DEBUG 5 exiting : 0x10cb03190
- [node_visitor] DEBUG 4 exiting : 0x10ce085d0
- [node_visitor] DEBUG Load()
- [meta_ast] DEBUG adding node : 0x10cb03190 [4]
- [node_visitor] DEBUG entering: 0x10cb03190 <class '_ast.Load'> [4]
- [node_visitor] DEBUG 4 exiting : 0x10cb03190
- [node_visitor] DEBUG 3 exiting : 0x10ce084d0
- [node_visitor] DEBUG Str(s='hern')
- [meta_ast] DEBUG adding node : 0x10ce08210 [3]
- [node_visitor] DEBUG entering: 0x10ce08210 <class '_ast.Str'> [3]
- [node_visitor] DEBUG visit_Str called (Str(s='hern'))
- [test_set] DEBUG get_tests called with check type: Str
- [test_set] DEBUG get_tests returning scoped_tests : {'hardcoded_sql_expressions': <function hardcoded_sql_expressions at 0x10cdf7488>, 'hardcoded_tmp_directory': <function hardcoded_tmp_directory at 0x10cdabd70>, 'hardcoded_bind_all_interfaces': <function hardcoded_bind_all_interfaces at 0x10cdab9b0>}
- [node_visitor] DEBUG 3 exiting : 0x10ce08210
- [node_visitor] DEBUG 2 exiting : 0x10ce082d0
- [node_visitor] DEBUG 1 exiting : 0x10cdfbb50
- [node_visitor] DEBUG 0 exiting : 0x10cdfb750
- Node: 0x10cdfb750
- {'raw': <_ast.Module object at 0x10cdfb750>, 'depth': 0, 'parent_id': ''}
- Node: 0x10cdfbad0
- {'raw': <_ast.Import object at 0x10cdfbad0>, 'depth': 1, 'parent_id': ''}
- Node: 0x10cdfb650
- {'raw': <_ast.alias object at 0x10cdfb650>, 'depth': 2, 'parent_id': ''}
- Node: 0x10cdfbb50
- {'raw': <_ast.Expr object at 0x10cdfbb50>, 'depth': 1, 'parent_id': ''}
- Node: 0x10ce082d0
- {'raw': <_ast.Call object at 0x10ce082d0>, 'depth': 2, 'parent_id': ''}
- Node: 0x10ce084d0
- {'raw': <_ast.Attribute object at 0x10ce084d0>, 'depth': 3, 'parent_id': ''}
- Node: 0x10ce085d0
- {'raw': <_ast.Attribute object at 0x10ce085d0>, 'depth': 4, 'parent_id': ''}
- Node: 0x10ce08710
- {'raw': <_ast.Name object at 0x10ce08710>, 'depth': 5, 'parent_id': ''}
- Node: 0x10cb03190
- {'raw': <_ast.Load object at 0x10cb03190>, 'depth': 4, 'parent_id': ''}
- Node: 0x10ce08210
- {'raw': <_ast.Str object at 0x10ce08210>, 'depth': 3, 'parent_id': ''}
- Length : 10
- Run started:
- 2015-03-02 20:49:08.348735
- Files in scope (1):
- examples/false_negative.py (score: 0)
- Files excluded (0):
- Files skipped (0):
- Test results:
- No issues identified.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement