adler.utilities.tests_utilities

Functions

get_test_data_path()

Gets the absolute path of the tests/data directory.

get_test_data_filepath(filename)

Gets the absolute path of a supplied file in the tests/data directory.

Module Contents

get_test_data_path()[source]

Gets the absolute path of the tests/data directory.

Returns:

path_to_data – The absolute path to the tests/data directory.

Return type:

str

get_test_data_filepath(filename)[source]

Gets the absolute path of a supplied file in the tests/data directory.

Parameters:

filename (str) – The filename of the desired test file.

Returns:

The absolute path to the specified file in the tests/data directory.

Return type:

str