feat: Se implementa patron Factory
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user