コード例 #1
0
ファイル: checks.py プロジェクト: Erically/networking-odl
def factory(register):
    checks.factory(register)
    register(check_opendaylight_lowercase)
    register(check_opendaylight_lowercase_comment)
    register(check_opendaylight_lowercase_string)
    register(check_opendaylight_lowercase_docstring)
    register(check_config_over_set_override)
コード例 #2
0
def factory(register):
    checks.factory(register)
    register(check_opendaylight_lowercase)
    register(check_opendaylight_lowercase_comment)
    register(check_opendaylight_lowercase_string)
    register(check_opendaylight_lowercase_docstring)
    register(check_config_over_set_override)
    register(check_config_over_direct_override)
    register(check_redundant_import_alias)
コード例 #3
0
def factory(register):
    checks.factory(register)
    register(check_assert_called_once_with)
    register(check_asserttruefalse)
    register(check_assertempty)
    register(check_assertisinstance)
    register(check_assertequal_for_httpcode)
    register(check_oslo_i18n_wrapper)
    register(check_builtins_gettext)
    register(check_no_imports_from_tests)
    register(check_python3_no_filter)
    register(check_no_sqlalchemy_event_import)
コード例 #4
0
ファイル: checks.py プロジェクト: AradhanaSingh/neutron
def factory(register):
    checks.factory(register)
    register(check_assert_called_once_with)
    register(check_asserttruefalse)
    register(check_assertempty)
    register(check_assertisinstance)
    register(check_assertequal_for_httpcode)
    register(check_oslo_i18n_wrapper)
    register(check_builtins_gettext)
    register(check_unittest_imports)
    register(check_no_imports_from_tests)
    register(check_python3_no_filter)
    register(check_no_sqlalchemy_event_import)
コード例 #5
0
def factory(register):
    register(no_log_warn)
    register(no_os_popen)
    checks.factory(register)
コード例 #6
0
ファイル: checks.py プロジェクト: Valmach/networking-odl
def factory(register):
    checks.factory(register)
    register(check_opendaylight_lowercase)
    register(check_opendaylight_lowercase_comment)
    register(check_opendaylight_lowercase_string)
    register(check_opendaylight_lowercase_docstring)
コード例 #7
0
ファイル: test_checks.py プロジェクト: muraliran/neutron-lib
 def test_factory(self):
     def check_callable(fn):
         self.assertTrue(hasattr(fn, '__call__'))
     self.assertIsNone(checks.factory(check_callable))