test: give the Slovak menu test the catalog and update entry labels

This commit is contained in:
MacRimi
2026-11-04 22:11:04 +01:00
parent 0c98bb2c6c
commit 05ed3925da
+2 -1
View File
@@ -209,8 +209,9 @@ class InputAndCancellationTests(StorageFixture):
# The real background worker has its own catalog lifecycle tests. # The real background worker has its own catalog lifecycle tests.
catalog_check=catalog_checker.return_value.__enter__.return_value catalog_check=catalog_checker.return_value.__enter__.return_value
catalog_check.active=False;catalog_check.consume.return_value=False catalog_check.active=False;catalog_check.consume.return_value=False
catalog_check.describe.return_value='' catalog_check.failed=False;catalog_check.label.return_value='Refresh catalog'
check=checker.return_value.__enter__.return_value check=checker.return_value.__enter__.return_value
check.active=False;check.notice.return_value='';check.status.return_value={'available':[]} check.active=False;check.notice.return_value='';check.status.return_value={'available':[]}
check.label.return_value='Check for updates'
self.assertEqual(cli.interactive(self.catalog),0) self.assertEqual(cli.interactive(self.catalog),0)
ui.message.assert_called_once_with('Operáciu sa nepodarilo dokončiť:\n\nfiction-detail') ui.message.assert_called_once_with('Operáciu sa nepodarilo dokončiť:\n\nfiction-detail')