check_full

sherpa.plot.testing.check_full(r, summary, label='', title='', nsummary=0, test_other=None)[source] [edit on github]

Is this a ‘full’ response?

This test runs different checks for functional (pylab and bokeh) backends and dummy backends that do no produce graphics.

Parameters:
rstr

The HTML response.

summarystr

The summary string to look for.

labelstr

The label string to look for.

titlestr

The title string to look for.

nsummaryint, optional

The number of lines in the detailed table.

test_otherlist of str, optional

Usually dummy backends get tested for a list of strings including the label and title. However, in some cases, that is not appropriate and a list of strings can be passed to check one the existence of all those literal strings in the HTML response.