# loki.transformations.tests.test_drhook

Functions

`fixture_config`() | Write default configuration as a temporary file and return the file path
`fixture_source`(srcdir) | Write some source files to use in the test
`fixture_srcdir`() | Create a src directory in the temp directory
`test_dr_hook_transformation`(frontend, ...) | Test DrHook transformation for a renamed Subroutine
`test_dr_hook_transformation_remove`(frontend, ...) | Test DrHook transformation in remove mode
`test_dr_hook_transformation_rename`(frontend, ...) | Test DrHook transformation in remove mode

fixture_config()

  Write default configuration as a temporary file and return the file path

fixture_srcdir()

  Create a src directory in the temp directory

fixture_source(srcdir)

  Write some source files to use in the test

test_dr_hook_transformation(frontend, config, source, tmp_path)

  Test DrHook transformation for a renamed Subroutine

test_dr_hook_transformation_remove(frontend, config, source, tmp_path)

  Test DrHook transformation in remove mode

test_dr_hook_transformation_rename(frontend, config, source)

  Test DrHook transformation in remove mode