From 6d3d955ba976279fa3f31a805ebe5dab7e6cc010 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 19 Feb 2016 16:10:00 -0600 Subject: [PATCH] Fix other tests after pylint fixes --- tests/unit/test_option.py | 3 +++ tests/unit/test_plugin_type_manager.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_option.py b/tests/unit/test_option.py index 5facf2a..67e2255 100644 --- a/tests/unit/test_option.py +++ b/tests/unit/test_option.py @@ -33,6 +33,9 @@ def test_to_optparse_creates_an_option_as_we_expect(Option): 'default': None, 'type': None, 'dest': 'test', + 'nargs': None, + 'const': None, + 'choices': None, 'callback': None, 'callback_args': None, 'callback_kwargs': None, diff --git a/tests/unit/test_plugin_type_manager.py b/tests/unit/test_plugin_type_manager.py index 36fb92a..f64e472 100644 --- a/tests/unit/test_plugin_type_manager.py +++ b/tests/unit/test_plugin_type_manager.py @@ -200,8 +200,8 @@ def test_proxies_getitem_to_managers_plugins_dictionary(PluginManager): assert type_mgr[key] is plugins[key] -class FakePluginTypeManager(manager.NotifierBuilder): - """Provide an easy way to test the NotifierBuilder.""" +class FakePluginTypeManager(manager.NotifierBuilderMixin): + """Provide an easy way to test the NotifierBuilderMixin.""" def __init__(self, manager): """Initialize with our fake manager."""