is_test_image

mastml.html_helper.is_test_image(path)[source]

Method used to assess whether an image is for testing data

Args:

path: (str), source path of the image to be displayed

Returns:

(bool), True if path is an image (.png) and is for testing data (has ‘test’ in path)