mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
tests: functional: Fix typos in diagnostics checks
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
5cf89ad85c
commit
fdde1cd40b
@ -835,13 +835,13 @@ class BaseAppTests:
|
||||
submit(session_browser, form_class='form-diagnostics-button')
|
||||
|
||||
warning_results = session_browser.find_by_css(
|
||||
'.diagnostic-result > .text-bg-warning')
|
||||
'.diagnostics-result > .text-bg-warning')
|
||||
if warning_results:
|
||||
warnings.warn(
|
||||
f'Diagnostics warnings for {self.app_name}: {warning_results}')
|
||||
|
||||
failure_results = session_browser.find_by_css(
|
||||
'.diagnostic-result > .text-bg-danger')
|
||||
'.diagnostics-result > .text-bg-danger')
|
||||
assert not failure_results
|
||||
|
||||
@pytest.mark.backups
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user