def METHOD_NAME(self):
    # Ensure all plugins have top-level init method *without* importing them.
    files = self.get_plugins()
    for fn in files:
        with open(fn, 'r') as f:
            s = f.read()
        self.assertTrue('def init()' in s or 'def init ()' in s, msg=fn)