open_test_file

felis.tests.utils.open_test_file(file_name)

Return a file object for a test file using a context manager.

Parameters:

file_name (str) – The name of the test file.

Returns:

A file object for the test file.

Return type:

Iterator [ IO [ str ] ]

Raises:

FileNotFoundError – Raised if the file does not exist.