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:
r (str) – The HTML response.
summary (str) – The summary string to look for.
label (str) – The label string to look for.
title (str) – The title string to look for.
nsummary (int, optional) – The number of lines in the detailed table.
test_other (list 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.