diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-05-18 17:49:24 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-05-27 09:41:36 +0000 |
commit | b72980960e62e05ad4dcd9af196105e3af0ac43f (patch) | |
tree | 99e4118905a82d65c1d1dc72f8e12ff6e9af1807 /nova/test.py | |
parent | 45a88f08b4e881f0fc0039dc56c0223139850c64 (diff) | |
download | nova-b72980960e62e05ad4dcd9af196105e3af0ac43f.tar.gz |
Remove hooks
This extension point was deprecated in 13.0.0 (Mitaka) as it was
unmaintainable. Now, over four years later, it's finally time to remove
them. A combination of notifications, versioned or otherwise, and
dynamic vendordata should be used instead.
Change-Id: Idb9a0c06d8abdb158bcee5be12c35dcb67257e60
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/test.py')
-rw-r--r-- | nova/test.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nova/test.py b/nova/test.py index 6f5a8eebe3..48f1849b0e 100644 --- a/nova/test.py +++ b/nova/test.py @@ -748,12 +748,6 @@ class NoDBTestCase(TestCase): USES_DB = False -class BaseHookTestCase(NoDBTestCase): - def assert_has_hook(self, expected_name, func): - self.assertTrue(hasattr(func, '__hook_name__')) - self.assertEqual(expected_name, func.__hook_name__) - - class MatchType(object): """Matches any instance of a specified type |