feat: Se implementa patron Factory

This commit is contained in:
2025-10-21 11:42:57 -05:00
parent bff20cbd72
commit 5cf1958333
6 changed files with 252 additions and 192 deletions

View File

@@ -18,7 +18,7 @@ def test_print_bill():
json.dumps(
load_json('test/fixtures/bill.json')
)),
"ip_printer": "192.168.1.105",
"ip_printer": "",
"user_name": "Juan"
}
@@ -33,7 +33,7 @@ def test_print_customer_order():
json.dumps(
load_json('test/fixtures/customer_order.json')
)),
"ip_printer": "192.168.1.100",
"ip_printer": "",
"user_name": "Juan"
}
@@ -50,7 +50,7 @@ def test_print_customer_order_deleted_lines():
load_json(
'test/fixtures/customer_order_deleted_lines.json')
)),
"ip_printer": "192.168.1.110",
"ip_printer": "",
"user_name": "Juan"
}
@@ -66,7 +66,7 @@ def test_print_bar_order():
json.dumps(
load_json('test/fixtures/customer_order.json')
)),
"ip_printer": "192.168.1.110",
"ip_printer": "",
"user_name": "Juan"
}