mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-05 12:22:08 +00:00
test: give the Slovak menu test the catalog and update entry labels
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user