# loki.frontend.tests.test_fparser_source

Verify correct frontend behaviour with regards to source parsing and sanitisation.

Functions

`test_fparser_sanitize_fypp_line_annotations`() | Test that fypp line number annotations are sanitized correctly.
`test_fparser_source_parsing`(store_source) |
`test_source_sanitize_fp_module`(preprocess) | Test that source sanitizing works as expected and postprocessing rules are correctly applied
`test_source_sanitize_fp_source`(tmp_path, ...) | Test that source sanitizing works as expected and postprocessing rules are correctly applied
`test_source_sanitize_fp_subroutine`(preprocess) | Test that source sanitizing works as expected and postprocessing rules are correctly applied

test_source_sanitize_fp_source(tmp_path, from_file, preprocess)

  Test that source sanitizing works as expected and postprocessing rules are correctly applied

test_source_sanitize_fp_subroutine(preprocess)

  Test that source sanitizing works as expected and postprocessing rules are correctly applied

test_source_sanitize_fp_module(preprocess)

  Test that source sanitizing works as expected and postprocessing rules are correctly applied

test_fparser_source_parsing(store_source)

test_fparser_sanitize_fypp_line_annotations()

  Test that fypp line number annotations are sanitized correctly.