mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] Minor usability fix, order trays alphabetically, name xml groups
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Copyright 2016 LasLabs Inc.
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from . import test_ir_actions_report_xml
|
||||
from . import test_ir_actions_report
|
||||
from . import test_printing_printer
|
||||
from . import test_printing_report_xml_action
|
||||
from . import test_printing_tray
|
||||
|
||||
@@ -280,7 +280,7 @@ class TestPrintingPrinter(TransactionCase):
|
||||
cups_printer = connection.getPrinters()[self.printer.system_name]
|
||||
|
||||
vals = self.printer._prepare_update_from_cups(connection, cups_printer)
|
||||
self.assertEqual(vals['tray_ids'], [(0, 0, {
|
||||
self.assertItemsEqual(vals['tray_ids'], [(0, 0, {
|
||||
'name': 'Auto (Default)',
|
||||
'system_name': 'Auto',
|
||||
}), (0, 0, {
|
||||
|
||||
Reference in New Issue
Block a user