rename hooks to use "ac_" (account) and "dc_" (global)

This commit is contained in:
holger krekel
2020-03-29 07:34:48 +02:00
parent 7e1470ea46
commit ca88c5b41c
11 changed files with 67 additions and 67 deletions

View File

@@ -26,7 +26,7 @@ def test_dc_close_events(tmpdir, acfactory):
class ShutdownPlugin:
@global_hookimpl
def account_after_shutdown(self, account):
def dc_account_after_shutdown(self, account):
assert account._dc_context is None
shutdowns.append(account)
register_global_plugin(ShutdownPlugin())