def METHOD_NAME(self, analysis_plugin):
    intended_signature_path = os.path.join(  # noqa: PTH118
        get_src_dir(), 'analysis/signatures', analysis_plugin.NAME
    )
    assert isinstance(analysis_plugin.signature_path, str), 'incorrect type'
    assert f'{intended_signature_path.rstrip("/")}.yc' == analysis_plugin.signature_path, 'signature path is wrong'