[MIG] printer_zpl2 to v13 (continue)

This commit is contained in:
ahenriquez
2020-03-05 12:26:39 +01:00
committed by mreficent
parent 4291cca6ca
commit 7c10f698ba
8 changed files with 306 additions and 307 deletions

View File

@@ -51,8 +51,11 @@ class TestWizardPrintRecordLabel(TransactionCase):
self.label.test_print_mode = True
self.label.printer_id = self.printer
self.label.record_id = 10
self.label.print_test_label()
cups.Connection().printFile.assert_called_once()
file_name = 'test.zpl'
self.label.print_test_label()
cups.Connection().printFile.assert_called_once_with(
self.printer.system_name, file_name, file_name, options={}
)
def test_emulation_without_params(self):
""" Check if not execute next if not in this mode """