Replace assertEqual(None,v) with assertIsNone(v)
Change-Id: Iea5d8b81b8da93f3392b4bc41b76d2aa5fc2da84
This commit is contained in:
parent
be6c9ef2c0
commit
2b253671bd
@ -252,8 +252,7 @@ class TestAuthUtils(base.MuranoTestCase):
|
||||
conf_section, option_names))
|
||||
|
||||
def test_get_config_option_return_default(self):
|
||||
self.assertEqual(None, auth_utils._get_config_option(
|
||||
None, []))
|
||||
self.assertIsNone(auth_utils._get_config_option(None, []))
|
||||
|
||||
@mock.patch.object(auth_utils, '_get_config_option', autospec=True)
|
||||
def test_get_session(self, mock_get_config_option):
|
||||
|
Loading…
Reference in New Issue
Block a user